[wp-trac] [WordPress Trac] #36473: JavaScript error in theme customizer a specific value of before_widget
WordPress Trac
noreply at wordpress.org
Tue Apr 12 11:09:46 UTC 2016
#36473: JavaScript error in theme customizer a specific value of before_widget
----------------------------------------+-----------------------------
Reporter: martin.krcho | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.9
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: ui
----------------------------------------+-----------------------------
Changes (by westonruter):
* keywords: => needs-patch good-first-bug
* milestone: Awaiting Review => Future Release
Comment:
Thanks. OK, that confirms it. It registers a sidebar with:
{{{
'before_widget' => '<section id="%1$s" class="widget %2$s widget-%2$s">',
}}}
Only the first instance of `%2$s` is getting replaced, so implementing the
regex global replacement will do the trick.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36473#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list