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/site-settings.php

    r55408 r55418  
    106106if ( ! empty( $messages ) ) {
    107107    foreach ( $messages as $msg ) {
    108         echo '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>';
     108        echo '<div id="message" class="notice notice-success is-dismissible"><p>' . $msg . '</p></div>';
    109109    }
    110110}
Note: See TracChangeset for help on using the changeset viewer.