Make WordPress Core


Ignore:
Timestamp:
02/15/2026 08:01:50 AM (6 weeks ago)
Author:
fabiankaegy
Message:

Admin: Change the default admin color scheme to Modern.

Rename the 'Modern' color scheme to 'Default' and the previous 'Default' scheme to 'Fresh'. Update all fallback references from 'fresh' to 'modern' across admin headers, the Customizer, the color scheme picker, the script loader, and user functions.

Add an upgrade routine in upgrade_700() to migrate existing users with the 'fresh' admin color to 'modern'.

Props fabiankaegy, audrasjb, mukesh27, westonruter, peterwilsoncc, jorbin, sabernhardt, joedolson, phpbits.
Fixes #64546.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r61611 r61644  
    21062106
    21072107        if ( empty( $color ) || ! isset( $_wp_admin_css_colors[ $color ] ) ) {
    2108             $color = 'fresh';
     2108            $color = 'modern';
    21092109        }
    21102110
Note: See TracChangeset for help on using the changeset viewer.