Changeset 1559440
- Timestamp:
- 12/22/2016 01:49:01 AM (9 years ago)
- File:
-
- 1 edited
-
fix-admin-contrast/trunk/admin-contrast.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fix-admin-contrast/trunk/admin-contrast.php
r1559420 r1559440 48 48 $newest = 42; 49 49 50 $color_scheme = get_user_option( 'admin_color' ); 51 if (substr($color_scheme, 0, 5) == 'high_') return; // This user has a high contrast scheme selected. Do nothing for this user. 52 50 // Did this user already choose my other plugin? Give it priority. 51 if (function_exists('miqro_high_contrast_admin')) { 52 $color_scheme = get_user_option( 'admin_color' ); 53 if (substr($color_scheme, 0, 5) == 'high_') return; 54 } 55 53 56 $wpversion = get_bloginfo('version'); 54 57 if (strlen($wpversion) < 3) return;
Note: See TracChangeset
for help on using the changeset viewer.