From b67e8e4dd96057a3911ceda11ae9e355168ba5e4 Mon Sep 17 00:00:00 2001 From: joedolson Date: Sat, 17 Sep 2022 00:35:10 +0000 Subject: [PATCH] Login and Registration: Required fields in network registration. Properly label site and user information on the network registration screen with the HTML5 required attribute and clarify the values expected for the site domain and subdirectory fields. Props SteelWagstaff, henrywright, sabernhardt. Fixes #54344. Built from https://develop.svn.wordpress.org/trunk@54192 git-svn-id: http://core.svn.wordpress.org/trunk@53751 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-signup.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index c1dca1478e..8fe1300df8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54191'; +$wp_version = '6.1-alpha-54192'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-signup.php b/wp-signup.php index 59684ca3df..9782dad499 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -115,9 +115,9 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { $current_network = get_network(); // Blog name. if ( ! is_subdomain_install() ) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } $errmsg_blogname = $errors->get_error_message( 'blogname' ); @@ -128,10 +128,10 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { } if ( ! is_subdomain_install() ) { - echo '
' . $current_network->domain . $current_network->path . '
'; + echo '
' . $current_network->domain . $current_network->path . '
'; } else { $site_domain = preg_replace( '|^www\.|', '', $current_network->domain ); - echo '
.' . esc_html( $site_domain ) . '
'; + echo '
.' . esc_html( $site_domain ) . '
'; } if ( ! is_user_logged_in() ) { @@ -159,7 +159,7 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { $errmsg_blog_title_aria = ' aria-describedby="wp-signup-blog-title-error"'; echo '

' . $errmsg_blog_title . '

'; } - echo ''; + echo ''; ?> ' . $errmsg_username . '

'; } ?> - +

' . $errmsg_email . '

'; } ?> - +