diff --git a/wp-activate.php b/wp-activate.php index ff71779036..92b062eff0 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -105,10 +105,11 @@ add_action( 'wp_head', 'do_activate_header' ); function wpmu_activate_stylesheet() { ?> path . 'wp-activate.php' ); ?>">
-
+
@@ -213,9 +214,5 @@ $blog_details = get_blog_details(); ?> - ' . __( 'Site Domain:' ) . ''; } - $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. @@ -609,19 +630,25 @@ function signup_user( $user_name = '', $user_email = '', $errors = '' ) { ?> -
-
+
-
+
-
- />
-
-
- />
-
-
-
- -