[wp-trac] [WordPress Trac] #52750: WP 5.7 colors inconsistent in get_option( 'admin_color' ) since color contrast changes
WordPress Trac
noreply at wordpress.org
Mon Mar 15 18:50:57 UTC 2021
#52750: WP 5.7 colors inconsistent in get_option( 'admin_color' ) since color
contrast changes
--------------------------------+------------------------
Reporter: ninetyninew | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.7.1
Component: Options, Meta APIs | Version: 5.7
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
--------------------------------+------------------------
Comment (by ninetyninew):
Ah! apologies I've just double checked and i'm actually adding an extra
line after the get_user_option part of this:
{{{
$_wp_admin_css_colors[$current_color_scheme]
}}}
Where $current_color_scheme is the color scheme returned from the
get_user_option.
So the issue is within what is returned from the global
$_wp_admin_css_colors and not the get_user_option itself.
@desrosj
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52750#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list