Make WordPress Core


Ignore:
Timestamp:
08/31/2016 06:50:34 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Login and Registration: Change login label to Username or Email Address for clarity.

Props GaryJ.
Fixes #37871.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r38458 r38477  
    537537<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
    538538    <p>
    539         <label for="user_login" ><?php _e('Username or Email') ?><br />
     539        <label for="user_login" ><?php _e( 'Username or Email Address' ); ?><br />
    540540        <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>
    541541    </p>
     
    899899<form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    900900    <p>
    901         <label for="user_login"><?php _e('Username or Email') ?><br />
     901        <label for="user_login"><?php _e( 'Username or Email Address' ); ?><br />
    902902        <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" /></label>
    903903    </p>
    904904    <p>
    905         <label for="user_pass"><?php _e('Password') ?><br />
     905        <label for="user_pass"><?php _e( 'Password' ); ?><br />
    906906        <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input" value="" size="20" /></label>
    907907    </p>
Note: See TracChangeset for help on using the changeset viewer.