[wp-trac] [WordPress Trac] #35855: Let selective refresh component be required but be opt-in for sidebars/widgets (for now)

WordPress Trac noreply at wordpress.org
Mon Mar 21 07:54:34 UTC 2016


#35855: Let selective refresh component be required but be opt-in for
sidebars/widgets (for now)
-------------------------------------+--------------------------
 Reporter:  DrewAPicture             |       Owner:  westonruter
     Type:  task (blessed)           |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.5
Component:  Customize                |     Version:  trunk
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Comment (by westonruter):

 ''Drafted commit message:''

 Customize: Require opt-in for selective refresh of widgets.

 * Introduces `customize-selective-refresh-widgets` theme support feature
 and adds to themes.
 * Introduces `customize_selective_refresh` arg for
 `WP_Widget::$widget_options` and adds to all core widgets.
 * Remove `selective_refresh` from being a component that can be removed
 via `customize_loaded_components` filter.
 * Add `WP_Customize_Widgets::get_selective_refreshable_widgets()` and
 `WP_Customize_Widgets::is_widget_selective_refreshable()`.
 * Fix default `selector` for `Partial` instances.
 * Implement and improve Masronry sidebar refresh logic in Twenty Thirteen
 and Twenty Fourteen, including preservation of initial widget position
 after refresh.
 * Re-initialize ME.js when refreshing `Twenty_Fourteen_Ephemera_Widget`.

 See #27355.
 Fixes #35855.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35855#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list