Make WordPress Core


Ignore:
Timestamp:
02/23/2023 10:11:51 PM (22 months 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-info.php

    r55276 r55418  
    148148if ( ! empty( $messages ) ) {
    149149    foreach ( $messages as $msg ) {
    150         echo '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>';
     150        echo '<div id="message" class="notice notice-success is-dismissible"><p>' . $msg . '</p></div>';
    151151    }
    152152}
Note: See TracChangeset for help on using the changeset viewer.