diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/my-sites.php --- a/wp/wp-admin/my-sites.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/my-sites.php Fri Sep 05 18:40:08 2025 +0200 @@ -50,14 +50,22 @@ get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . '

' . __( 'Documentation on My Sites' ) . '

' . - '

' . __( 'Support' ) . '

' + '

' . __( 'Support forums' ) . '

' ); require_once ABSPATH . 'wp-admin/admin-header.php'; -if ( $updated ) { ?> -

- +if ( $updated ) { + wp_admin_notice( + '' . __( 'Settings saved.' ) . '', + array( + 'type' => 'success', + 'dismissible' => true, + 'id' => 'message', + ) + ); +} +?>

@@ -70,13 +78,19 @@ if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ), true ) ) { /** This filter is documented in wp-login.php */ $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); - printf( ' %s', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) ); + printf( ' %s', esc_url( $sign_up_url ), esc_html__( 'Add New Site' ) ); } if ( empty( $blogs ) ) : - echo '

'; - _e( 'You must be a member of at least one site to use this page.' ); - echo '

'; + wp_admin_notice( + '' . __( 'You must be a member of at least one site to use this page.' ) . '', + array( + 'type' => 'error', + 'dismissible' => true, + ) + ); + ?> + @@ -96,7 +110,7 @@