Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35855, comment 51


Ignore:
Timestamp:
03/21/2016 05:09:33 AM (9 years ago)
Author:
ryankienstra
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35855, comment 51

    initial v1  
    1010When commenting out the theme-level [https://github.com/xwp/wordpress-develop/pull/144/files#diff-70824c0c03ec36b59fb60852857c75a0R118 opt-in code], "Selective Refresh" was disabled. The widgets reloaded as before, with a full-page refresh.
    1111
    12 I also tested disabling the widget-level opt-in for core widgets. For example, on in [https://github.com/xwp/wordpress-develop/pull/144/files#diff-fcee08630028b6773a4da7070ab659baR29 class-wp-widget-archives.php], I commented out `'customize_selective_refresh' => true,`. This had the intended effect of refreshing the entire page on a widget change. But the rest of the widgets still refreshed the same as before.
     12I also tested disabling the widget-level opt-in for core widgets. For example, on in [https://github.com/xwp/wordpress-develop/pull/144/files#diff-fcee08630028b6773a4da7070ab659baR29 class-wp-widget-archives.php], I commented out `'customize_selective_refresh' => true,`. This had the intended effect of refreshing the entire page on an "Archives" widget change. But the rest of the widgets still refreshed the same as before.
    1313
    1414And the same results occurred for this test on the [https://github.com/xwp/wordpress-develop/pull/144/files#diff-3c74d6b3d344f435fbc486da938aa7cfR29 wp-widget-pages.php] function with the theme [https://wordpress.org/themes/twentysixteen/ Twenty Sixteen].