diff --git a/src/wp-admin/my-sites.php b/src/wp-admin/my-sites.php
index 2478b39..5e50c2f 100644
a
|
b
|
if ( 'updateblogsettings' == $action && isset( $_POST['primary_blog'] ) ) { |
28 | 28 | update_user_option( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'], true ); |
29 | 29 | $updated = true; |
30 | 30 | } else { |
31 | | wp_die( __( 'The primary site you chose does not exist.' ) ); |
| 31 | wp_die( __( 'The primary site you choose does not exist.' ) ); |
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
… |
… |
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-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 | <?php |
69 | 69 | if ( empty( $blogs ) ) : |
70 | | echo '<p>'; |
| 70 | echo '<div class="notice">'; |
71 | 71 | _e( 'You must be a member of at least one site to use this page.' ); |
72 | | echo '</p>'; |
| 72 | echo '</div>'; |
73 | 73 | else : |
74 | 74 | ?> |
75 | 75 | <form id="myblogs" method="post"> |