diff --git src/wp-admin/my-sites.php src/wp-admin/my-sites.php
index 31c5bce4d7..624325360f 100644
|
|
|
9 | 9 | |
10 | 10 | require_once( dirname( __FILE__ ) . '/admin.php' ); |
11 | 11 | |
12 | | if ( !is_multisite() ) |
| 12 | if ( ! is_multisite() ) |
13 | 13 | wp_die( __( 'Multisite support is not enabled.' ) ); |
14 | 14 | |
15 | 15 | if ( ! current_user_can('read') ) |
… |
… |
get_current_screen()->set_help_sidebar( |
51 | 51 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
52 | 52 | |
53 | 53 | if ( $updated ) { ?> |
54 | | <div id="message" class="updated notice is-dismissible"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div> |
| 54 | <div id="message" class="notice notice-success is-dismissible"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div> |
55 | 55 | <?php } ?> |
56 | 56 | |
57 | 57 | <div class="wrap"> |
… |
… |
if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) { |
67 | 67 | } |
68 | 68 | |
69 | 69 | if ( empty( $blogs ) ) : |
70 | | echo '<p>'; |
71 | | _e( 'You must be a member of at least one site to use this page.' ); |
72 | | echo '</p>'; |
| 70 | ?> |
| 71 | <div id="message" class="notice notice-error>"><p><strong><?php _e( 'You must be a member of at least one site to use this page.' ); ?></strong></p></div> |
| 72 | <?php |
73 | 73 | else : |
74 | 74 | ?> |
75 | 75 | |