[wp-trac] [WordPress Trac] #37390: Twenty Thirteen: masonry widgets layout is not updated in the customizer
WordPress Trac
noreply at wordpress.org
Sun Jul 17 20:56:44 UTC 2016
#37390: Twenty Thirteen: masonry widgets layout is not updated in the customizer
------------------------------+-------------------------
Reporter: celloexpressions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Bundled Theme | Version: 4.5
Severity: normal | Keywords: needs-patch
Focuses: javascript |
------------------------------+-------------------------
`wp.customize.selectiveRefresh` is not defined where the theme's
`functions.js` checks for it, preventing the masonry footer widgets layout
from updating properly when widgets are added, deleted, or reordered. This
broke sometime between when the change was made to the theme and 4.5.3,
and is likely due to the sequence of scripts loading.
See https://wordpress.slack.com/archives/core-customize/p1468779925000003,
which has a fix from @westonruter. We also need to update the code in
https://make.wordpress.org/core/2016/03/22/implementing-selective-refresh-
support-for-widgets/ as themes may still be copying that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37390>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list