[wp-trac] [WordPress Trac] #46540: Admin bar CSS shouldn't be added in the customizer
WordPress Trac
noreply at wordpress.org
Wed Mar 20 07:53:26 UTC 2019
#46540: Admin bar CSS shouldn't be added in the customizer
-------------------------------------+-----------------------------
Reporter: nabil_kadimi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Customize | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Comment (by nabil_kadimi):
> @nabil_kadimi Can't you register a partial with the selector for the
link element that has the stylesheet?
No, unless I hardcode the style HTML code instead of using
wp_enqueue_style.
> But in general I would think that associating an entire partial with
wp_head() will cause other problems as well.
Yes I believe. I switched to `'postMessage' => 'refresh'`. But I'm
thinking that the customizer shouldn't make any difference between HTML in
`body` or `head`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46540#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list