[wp-trac] [WordPress Trac] #46540: Admin bar CSS shouldn't be added in the customizer

WordPress Trac noreply at wordpress.org
Tue Mar 19 22:25:55 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 westonruter):

 Replying to [comment:2 dlh]:
 > @westonruter, are you able to comment on the merits of
 [attachment:"46540.diff"]?

 This seems sensible to me.

 But in general I would think that associating an entire partial with
 `wp_head()` will cause other problems as well.

 @nabil_kadimi Can't you register a partial with the selector for the
 `link` element that has the stylesheet?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46540#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list