[wp-trac] [WordPress Trac] #64762: Frontend admin toolbar not using updated admin color scheme

WordPress Trac noreply at wordpress.org
Sat Mar 14 19:17:42 UTC 2026


#64762: Frontend admin toolbar not using updated admin color scheme
-------------------------------------------------+-------------------------
 Reporter:  huzaifaalmesbah                      |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  7.0
Component:  Toolbar                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots admin-reskin has-    |     Focuses:  ui, css
  patch has-unit-tests changes-requested         |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:
     has-screenshots admin-reskin has-patch has-unit-tests commit changes-
     requested
     =>
     has-screenshots admin-reskin has-patch has-unit-tests changes-
     requested


Comment:

 If `strpos( $css, '#wpadminbar' )` is `false`, then `str_contains( $css,
 '#wpadminbar' )` also should be `false`. Then `$start_position` would not
 be defined and no CSS would be added.

 I had trouble with the unit test just to make it pass in the GitHub
 action, so someone else would need to edit that.

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


More information about the wp-trac mailing list