[wp-trac] [WordPress Trac] #27355: Customizer: Add framework for selective refresh (partial preview refreshes)

WordPress Trac noreply at wordpress.org
Mon Mar 21 21:58:06 UTC 2016


#27355: Customizer: Add framework for selective refresh (partial preview refreshes)
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  task (blessed)                       |  westonruter
 Priority:  normal                               |      Status:  closed
Component:  Customize                            |   Milestone:  4.5
 Severity:  normal                               |     Version:  3.4
 Keywords:  has-patch has-unit-tests commit      |  Resolution:  fixed
  has-screenshots                                |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by westonruter):

 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/27355#comment:99>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list