From 73c5683903f1b7bd5ab224f8a1fcd851805ba891 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 31 Aug 2016 18:50:34 +0000 Subject: [PATCH] Login and Registration: Change login label to `Username or Email Address` for clarity. Props GaryJ. Fixes #37871. git-svn-id: https://develop.svn.wordpress.org/trunk@38477 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 4 ++-- src/wp-login.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 9ee54d9a1f..7dccf35f7c 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -383,7 +383,7 @@ function wp_registration_url() { * @type string $redirect URL to redirect to. Must be absolute, as in "https://example.com/mypage/". * Default is to redirect back to the request URI. * @type string $form_id ID attribute value for the form. Default 'loginform'. - * @type string $label_username Label for the username or email address field. Default 'Username or Email'. + * @type string $label_username Label for the username or email address field. Default 'Username or Email Address'. * @type string $label_password Label for the password field. Default 'Password'. * @type string $label_remember Label for the remember field. Default 'Remember Me'. * @type string $label_log_in Label for the submit button. Default 'Log In'. @@ -405,7 +405,7 @@ function wp_login_form( $args = array() ) { // Default 'redirect' value takes the user back to the request URI. 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'form_id' => 'loginform', - 'label_username' => __( 'Username or Email' ), + 'label_username' => __( 'Username or Email Address' ), 'label_password' => __( 'Password' ), 'label_remember' => __( 'Remember Me' ), 'label_log_in' => __( 'Log In' ), diff --git a/src/wp-login.php b/src/wp-login.php index e80be00efd..5266dd7b0a 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -536,7 +536,7 @@ case 'retrievepassword' :

-

" method="post">

-

-