Customizer Responsive Preview and Selective Refresh to be Merged Into WordPress 4.5

Last week the feature plugin decision deadline closed and WordPress core contributors approved Responsive Preview and Selective Refresh for merge. The merge deadline is Wednesday, February 17, followed by the first beta next week.

Both feature approved for 4.5 extend the customizer to improve live previews. A new version of the Customize Partial Refresh plugin is now available and ready for testing. This new feature makes previews more instant using JavaScript, as opposed to reloading the entire preview for each setting change. Developers who build customizer settings will be able to use a postMessage transport, which is much faster than the default refresh transport. The plugin’s description page includes a video demonstrating the faster previews with an example of adding smilies to the site title.

According to the meeting summary written by 4.5 release deputy Adam Silverstein, the most important question to answer is whether widgets should opt-in for selective refresh by default. Weston Ruter recommended that they require opt-in for widget selective refresh in 4.5 and warn developers that it will be set to default in the next release.

The new responsive preview feature is part of the Customizer UI Experiments plugin. It adds buttons to the customizer controls footer which allow users to preview site responsiveness while making changes. The buttons have icons for desktop, tablet, and phone-sized devices with portrait orientation.

customize-device-preview

According to Silverstein’s summary of last week’s meeting, WordPress 4.5 will not ship with WP REST API endpoints as previously planned:

The REST API team’s proposal is to merge the four main endpoints when they are ready, and they are not ready for 4.5. As such, no endpoints are targeted for WordPress 4.5.

Discussion regarding the future of the REST API and what constitutes an MVP continues on make.wordpress.org/core and in the #core-restapi channel on Slack.

4

4 responses to “Customizer Responsive Preview and Selective Refresh to be Merged Into WordPress 4.5”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Discover more from WP Tavern

Subscribe now to keep reading and get access to the full archive.

Continue reading