You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Enhancement: The cover component now supports captions. If a featured image is used for the cover, the caption will come from the attachment itself in the database. If the first image from the content is used, the caption will be read from the HTML. There is also a new filter, apple_news_exporter_cover_caption, which allows for filtering of the caption text.
Enhancement: Adds a new End of Article module, available via the Customize JSON feature, to allow publishers to insert content at the end of every article, customized per theme.
Enhancement: HTML is now allowed in lightbox image captions.
Enhancement: Allows configuration of cover images in the sidebar / metabox explicitly, rather than pulling them out of the featured image or main content.
Enhancement: Adds support for Brightcove videos via the Brightcove Video Connect plugin for videos added via either the Gutenberg block or the shortcode. Note that this feature will only work if you contact Apple support to link your Brightcove account with your Apple News channel.
Enhancement: Replaces usage of the deprecated advertisingSettings object with the new autoplacement.advertising object. Bumps default advertisement frequency from 1 to 5 (out of 10).
Enhancement: Adds an error to the notice bar if the DATE_NOT_RECENT API error is encountered advising the user to synchronize the time on their server to restore API connectivity.
Enhancement: Adds padding above and below EmbedWebVideo components.
Enhancement: Converts notices in a block editor context to native block editor notice components, rather than the previous custom implementation.
Enhancement: In the block editor, warns when the post has unsaved changes, and publishing to Apple News would result in unsaved changes not being published.
Bugfix: Removes Cover Art configuration, as Cover Art is no longer used by Apple.
Bugfix: Fixes the logic in the default theme checker to properly check the configured values against the defaults and prompt the user if they are using the default theme that ships with Apple News without modification.
Bugfix: Fixes a bug where renaming a theme would not carry over any changes made to the theme, and renaming the active theme would make it no longer active.
Bugfix: If the same image is used for the featured image and the first image embedded into the post, it no longer shows up twice.
Bugfix: Removed extra space between an image and its caption.
Bugfix: If a custom excerpt is used, but the custom excerpt repeats text in its entirety from elsewhere in the article (e.g., the first paragraph), then the Intro component will be skipped. This prevents an issue where Apple will flag articles that contain repeated text due to the Intro component using a custom excerpt suitable in a WordPress context but not an Apple News context.
Bugfix: Select menus are no longer oversized on the settings page.
Updated filter name for get_sections_for_post to apple_news_get_sections_for_post.