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/users.php

    r55415 r55418  
    256256if ( isset( $_REQUEST['updated'] ) && 'true' == $_REQUEST['updated'] && ! empty( $_REQUEST['action'] ) ) {
    257257    ?>
    258     <div id="message" class="updated notice is-dismissible"><p>
     258    <div id="message" class="notice notice-success is-dismissible"><p>
    259259        <?php
    260260        switch ( $_REQUEST['action'] ) {
Note: See TracChangeset for help on using the changeset viewer.