Make WordPress Core


Ignore:
Timestamp:
02/23/2023 10:11:51 PM (2 years ago)
Author:
joedolson
Message:

Networks and Sites: Use consistent markup for admin notices.

Fix admin notices in network screens so they use consistent markup and style.

Props afercia, marksabbath, stevenkword, jeremyfelt, aryamaaru, robinwpdeveloper, obayedmamur, joedolson.
Fixes #39213.

File:
1 edited

Legend:

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

    r55412 r55418  
    139139
    140140if ( isset( $_GET['updated'] ) ) {
    141     ?><div id="message" class="updated notice is-dismissible"><p><?php _e( 'Settings saved.' ); ?></p></div>
     141    ?><div id="message" class="notice notice-success is-dismissible"><p><?php _e( 'Settings saved.' ); ?></p></div>
    142142    <?php
    143143}
     
    168168                    if ( $new_admin_email && get_site_option( 'admin_email' ) !== $new_admin_email ) :
    169169                        ?>
    170                         <div class="updated inline">
     170                        <div class="notice notice-warning is-dismissible inline">
    171171                        <p>
    172172                        <?php
Note: See TracChangeset for help on using the changeset viewer.