[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 21:58:07 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:  closed
 Priority:  normal                   |   Milestone:  4.5
Component:  Customize                |     Version:  trunk
 Severity:  blocker                  |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37040"]:
 {{{
 #!CommitTicketReference repository="" revision="37040"
 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:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list