[wp-trac] [WordPress Trac] #21627: Filter for custom-background CSS selector
WordPress Trac
noreply at wordpress.org
Tue Apr 28 22:38:08 UTC 2015
#21627: Filter for custom-background CSS selector
-------------------------+-----------------------------
Reporter: Horttcore | Owner: Horttcore
Type: enhancement | Status: new
Priority: low | Milestone: Future Release
Component: Customize | Version: 3.4.1
Severity: minor | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------------
Comment (by peterwilsoncc):
Replying to [comment:15 westonruter]:
> Replying to [comment:14 peterwilsoncc]:
> So either you need to use `postMessage` passing, or export the settings
directly into the preview instead via
`WP_Customize_Manager::customize_preview_settings()`.
Thanks for the feedback, I've updated in 21627.5.diff to use the correct
method.
Whilst this code allows theme authors to customise the element and the
class, it still enforces the overloaded `element.classname` selector, is
it worth including a third setting and defaulting to the overloaded
selector?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21627#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list