Apple News plugin v1.2 now available

A new version of the Apple News plugin has been committed to the shared plugins repository. V1.2 is a feature and bugfix release and is intended to replace v1.1 and includes;

  • Added an experimental setting to enable HTML format on body elements.
  • Added settings for monospaced fonts, which applies to <pre>, <code>, and <samp> elements in body components when HTML formatting is enabled.
  • Added additional text formatting options, including tracking (letter-spacing) and line height.
  • Split text formatting options for headings to allow full customization per heading level.
  • Modified logic for image alignment so that centered and non-aligned images now appear centered instead of right-aligned.
  • Added an option for full-bleed images that will cause all centered and non-aligned images to display edge-to-edge.
  • Added logic to intelligently split body elements around anchor targets to allow for more opportunities for ad insertion.
  • Modified column span logic on left and right orientation to align the right side of the text with the right side of right-aligned images.
  • Fixed a bug caused by hardcoded column spans on center orientation.
  • Fixed a PHP warning about accessing a static class method using arrow syntax.
  • Added unit test coverage for new functionality.
  • Refactored several core files to conform to WordPress standards and PHP best practices.

We encourage all VIPs using Apple News to upgrade to this version by specifying the version parameter of wpcom_vip_load_plugin() like so;

wpcom_vip_load_plugin( ‘apple-news’, ‘plugins’, ‘1.2’ );

For VIP Go, we suggest you commit v1.2.1 from WordPress.org into your repository. Apple News uses Composer for dependencies which will not be automatically included upon deployment to VIP Go environments when using a Git submodule.

If you have any questions please open a ticket where we’ll be happy to assist you transition to the newest version.