From dc811f19105b5b9fde3e0ff440d3eaa75b1e06c9 Mon Sep 17 00:00:00 2001 From: Himanshu Pathak Date: Mon, 6 Jul 2026 19:30:50 +0530 Subject: [PATCH 1/9] Unhide the "Language" text from `wp-login` --- src/wp-login.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/wp-login.php b/src/wp-login.php index abedea82c3589..d61f763c6001a 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -378,12 +378,7 @@ function login_footer( $input_id = '' ) { Date: Mon, 6 Jul 2026 19:31:25 +0530 Subject: [PATCH 2/9] Improve positioning of the text --- src/wp-admin/css/login.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 34a9a5d522ae3..23b44f4294732 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -447,7 +447,8 @@ input::-ms-reveal { } .language-switcher label { - margin-right: 0.25em; + display: block; + margin-bottom: 0.5em; } .language-switcher label .dashicons { From 887d2039c0e87189fdbe39e2625ad2e5dc32ce05 Mon Sep 17 00:00:00 2001 From: Himanshu Pathak Date: Mon, 6 Jul 2026 19:32:09 +0530 Subject: [PATCH 3/9] Add the translation icon on `wp-signup` and `site-new` --- src/wp-admin/network/site-new.php | 2 +- src/wp-signup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php index 359af42557ef3..660e73cae8165 100644 --- a/src/wp-admin/network/site-new.php +++ b/src/wp-admin/network/site-new.php @@ -248,7 +248,7 @@ if ( ! empty( $languages ) || ! empty( $translations ) ) : ?> - +

- + Date: Thu, 9 Jul 2026 19:17:30 +0530 Subject: [PATCH 4/9] Use label first then the icon in `wp-login` --- src/wp-login.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-login.php b/src/wp-login.php index d61f763c6001a..4536c636f3061 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -377,8 +377,7 @@ function login_footer( $input_id = '' ) {

Date: Thu, 9 Jul 2026 19:22:25 +0530 Subject: [PATCH 5/9] Remove colon on field labels from `wp-signup` --- src/wp-signup.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-signup.php b/src/wp-signup.php index f22cbe348af96..7548e39075058 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -125,9 +125,9 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { $current_network = get_network(); // Site name. if ( ! is_subdomain_install() ) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } $errmsg_blogname = $errors->get_error_message( 'blogname' ); @@ -161,7 +161,7 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { // Site Title. ?> - + get_error_message( 'blog_title' ); $errmsg_blog_title_aria = ''; @@ -179,7 +179,7 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { if ( ! empty( $languages ) ) : ?>

- + ' . __( 'Username:' ) . ''; + echo ''; $errmsg_username = $errors->get_error_message( 'user_name' ); $errmsg_username_aria = ''; if ( $errmsg_username ) { @@ -291,7 +291,7 @@ function show_user_form( $user_name = '', $user_email = '', $errors = '' ) { ' . __( 'Email Address:' ) . ''; + echo ''; $errmsg_email = $errors->get_error_message( 'user_email' ); $errmsg_email_aria = ''; if ( $errmsg_email ) { From 4974a500782bc7ade859fbcf6c2d29ade30dbe29 Mon Sep 17 00:00:00 2001 From: Himanshu Pathak Date: Thu, 9 Jul 2026 19:25:30 +0530 Subject: [PATCH 6/9] Remove hardcoded space --- src/wp-admin/network/site-new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php index 660e73cae8165..4eafec5938dd3 100644 --- a/src/wp-admin/network/site-new.php +++ b/src/wp-admin/network/site-new.php @@ -248,7 +248,7 @@ if ( ! empty( $languages ) || ! empty( $translations ) ) : ?> - + Date: Thu, 9 Jul 2026 19:32:30 +0530 Subject: [PATCH 7/9] Add styles for `wp-signup` --- src/wp-signup.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-signup.php b/src/wp-signup.php index 7548e39075058..71e96850ad109 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -78,6 +78,7 @@ function wpmu_signup_stylesheet() { .mu_register input[type="email"], .mu_register #user_name { direction: ltr; } .mu_register #site-language { display: block; } + .mu_register label[for="site-language"] .dashicons { margin-left: 0.5em; } .mu_register .prefix_address, .mu_register .suffix_address { font-size: 18px; display: inline-block; direction: ltr; } .mu_register label, @@ -91,6 +92,7 @@ function wpmu_signup_stylesheet() { .mu_register .signup-options .wp-signup-radio-button { display: block; } .mu_register .privacy-intro .wp-signup-radio-button { margin-right: 0.5em; } .rtl .mu_register .wp-signup-blogname { direction: ltr; text-align: right; } + .rtl .mu_register label[for="site-language"] .dashicons { margin-right: 0.5em; margin-left: 0; } Date: Thu, 9 Jul 2026 19:32:44 +0530 Subject: [PATCH 8/9] Add login page styles --- src/wp-admin/css/login.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 23b44f4294732..04049843f1c37 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -446,12 +446,18 @@ input::-ms-reveal { text-align: center; } +.language-switcher form { + display: inline-block; +} + .language-switcher label { display: block; margin-bottom: 0.5em; + text-align: left; } .language-switcher label .dashicons { + margin-left: 0.5em; width: auto; height: auto; } From 716dd8905e48fbad82947384e0e31bae4a135f8d Mon Sep 17 00:00:00 2001 From: Himanshu Pathak Date: Thu, 9 Jul 2026 19:33:09 +0530 Subject: [PATCH 9/9] Add styles for settings and profile page --- src/wp-admin/css/common.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 53933f0ac28a2..7de3936e340a2 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -664,6 +664,7 @@ code { /* Dashicon for language options on General Settings and Profile screens */ .form-table th label[for="locale"] .dashicons, +.form-table th label[for="site-language"] .dashicons, .form-table th label[for="WPLANG"] .dashicons { margin-left: 5px; }