[wp-trac] [WordPress Trac] #38400: Twenty Seventeen: Add theme support for customize selective refresh widgets
WordPress Trac
noreply at wordpress.org
Thu Oct 20 11:21:33 UTC 2016
#38400: Twenty Seventeen: Add theme support for customize selective refresh widgets
------------------------------+-------------------------
Reporter: celloexpressions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Bundled Theme | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-------------------------
Literally every new theme needs to have this one line:
{{{
add_theme_support( 'customize_selective_refresh_widgets' );
}}}
Apparently that's missing from whatever base this theme was started from,
so add it there right away also. Then, adjust as needed for any JS-based
widget layouts like masonry (see Twenty Thirteen for an example). The UX
improvement of this change is massive.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38400>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list