Make WordPress Core


Ignore:
Timestamp:
02/18/2026 09:13:47 PM (3 weeks ago)
Author:
joedolson
Message:

Admin: Apply scheme styles in non-admin admin screens.

Adds the admin-scheme styles as a dependency for the login and install styles. This is to ensure the CSS variables are available to the login, installation, database repair and upgrade screens.

Modifies the display of notices in the login styles to match those in the new default scheme, "modern".

Props peterwilsoncc, wildworks, westonruter, mukesh27, fabiankaegy, audrasjb, huzaifaalmesbah, sabernhardt, presskopp, SirLouen, ellatrix, nendeb55, neo2k23, jsmansart, joedolson.
Fixes #64640, #64548. See #64308.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r61638 r61681  
    1616    <title>Error: PHP is not running</title>
    1717</head>
    18 <body class="wp-core-ui">
     18<body class="wp-core-ui admin-color-modern">
    1919    <h1>Error: PHP is not running</h1>
    2020    <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
     
    7373    <?php wp_admin_css( 'install', true ); ?>
    7474</head>
    75 <body class="wp-core-ui<?php echo $body_classes; ?>">
     75<body class="wp-core-ui admin-color-modern<?php echo $body_classes; ?>">
    7676<p id="logo"><?php _e( 'WordPress' ); ?></p>
    7777
Note: See TracChangeset for help on using the changeset viewer.