Users: Style the super admin message on the user editing screen as a notice, not a success message.

Fixes #39131


git-svn-id: https://develop.svn.wordpress.org/trunk@39531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-12-07 01:27:13 +00:00
parent 042451a9e1
commit 93a5849d7e

View File

@ -172,7 +172,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
?>
<?php if ( !IS_PROFILE_PAGE && is_super_admin( $profileuser->ID ) && current_user_can( 'manage_network_options' ) ) { ?>
<div class="updated"><p><strong><?php _e('Important:'); ?></strong> <?php _e('This user has super admin privileges.'); ?></p></div>
<div class="notice notice-info"><p><strong><?php _e('Important:'); ?></strong> <?php _e('This user has super admin privileges.'); ?></p></div>
<?php } ?>
<?php if ( isset($_GET['updated']) ) : ?>
<div id="message" class="updated notice is-dismissible">