WordPress.org

Make WordPress Core

Changeset 36620


Ignore:
Timestamp:
02/22/2016 11:37:21 PM (3 years ago)
Author:
ocean90
Message:

Template: Update label for the username field in wp_login_form() after [36617].

See #9568.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r36587 r36620  
    387387 *                                  Default is to redirect back to the request URI.
    388388 *     @type string $form_id        ID attribute value for the form. Default 'loginform'.
    389  *     @type string $label_username Label for the username field. Default 'Username'.
     389 *     @type string $label_username Label for the username or email address field. Default 'Username or Email'.
    390390 *     @type string $label_password Label for the password field. Default 'Password'.
    391391 *     @type string $label_remember Label for the remember field. Default 'Remember Me'.
     
    409409        'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
    410410        'form_id' => 'loginform',
    411         'label_username' => __( 'Username' ),
     411        'label_username' => __( 'Username or Email' ),
    412412        'label_password' => __( 'Password' ),
    413413        'label_remember' => __( 'Remember Me' ),
Note: See TracChangeset for help on using the changeset viewer.