[wp-trac] [WordPress Trac] #55912: count( $_wp_admin_css_colors ) in user-edit.php not php 8 friendly when int given

WordPress Trac noreply at wordpress.org
Fri Jun 3 21:25:35 UTC 2022


#55912: count( $_wp_admin_css_colors ) in user-edit.php not php 8 friendly when int
given
--------------------------+----------------------
 Reporter:  rambillo      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  php8          |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * keywords:   => php8
 * milestone:  Awaiting Review =>


Comment:

 No worries, thanks for the follow-up!

 As far as I can tell, this can only happen if a plugin or theme
 unregisters the default admin colors or overwrites the
 `$_wp_admin_css_colors` global.

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


More information about the wp-trac mailing list