diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-signup.php --- a/wp/wp-signup.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-signup.php Fri Sep 05 18:40:08 2025 +0200 @@ -57,25 +57,35 @@ function wpmu_signup_stylesheet() { ?> ' . __( 'Site Name:' ) . ''; + echo ''; } else { - echo ''; + echo ''; } - $errmsg = $errors->get_error_message( 'blogname' ); - if ( $errmsg ) { - ?> -
- get_error_message( 'blogname' ); + $errmsg_blogname_aria = ''; + if ( $errmsg_blogname ) { + $errmsg_blogname_aria = 'wp-signup-blogname-error '; + echo '' . $errmsg_blogname . '
'; } if ( ! is_subdomain_install() ) { - echo '' . $current_network->domain . $current_network->path . '' . $errmsg_blog_title . '
'; } - echo ''; + echo ''; ?>
-
-
-
-
-
-
' . $errmsg . '
'; + $errmsg_username = $errors->get_error_message( 'user_name' ); + $errmsg_username_aria = ''; + if ( $errmsg_username ) { + $errmsg_username_aria = 'wp-signup-username-error '; + echo '' . $errmsg_username . '
'; } - echo '' . $errmsg_email . '
'; + } + ?> + + + get_error_message( 'generic' ); - if ( $errmsg ) { - echo '' . $errmsg . '
'; + // Extra fields. + $errmsg_generic = $errors->get_error_message( 'generic' ); + if ( $errmsg_generic ) { + echo '' . $errmsg_generic . '
'; } /** * Fires at the end of the new user account registration form. @@ -378,7 +399,7 @@ -
-
+
-
+
-
- />
-
-
- />
-
-
-
you must activate it.' ); ?>
' . $user_email . '' ); + /* translators: %s: The user email address. */ + printf( __( 'Check your inbox at %s and click on the given link.' ), '' . $user_email . '' ); ?>
@@ -835,25 +862,23 @@you must activate it.' ); ?>
' . $user_email . '' ); + /* translators: %s: The user email address. */ + printf( __( 'Check your inbox at %s and click on the given link.' ), '' . $user_email . '' ); ?>
-- -