WordPress.org

Make WordPress Core

Ticket #37871: 37871.diff

File 37871.diff, 1.5 KB (added by GaryJ, 3 years ago)
  • src/wp-includes/general-template.php

    diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
    index 3bd18bb..427578a 100644
    function wp_registration_url() { 
    383383 *     @type string $redirect       URL to redirect to. Must be absolute, as in "https://example.com/mypage/".
    384384 *                                  Default is to redirect back to the request URI.
    385385 *     @type string $form_id        ID attribute value for the form. Default 'loginform'.
    386  *     @type string $label_username Label for the username or email address field. Default 'Username or Email'.
     386 *     @type string $label_username Label for the username or email address field. Default 'Username or Email Address'.
    387387 *     @type string $label_password Label for the password field. Default 'Password'.
    388388 *     @type string $label_remember Label for the remember field. Default 'Remember Me'.
    389389 *     @type string $label_log_in   Label for the submit button. Default 'Log In'.
    function wp_login_form( $args = array() ) { 
    405405                // Default 'redirect' value takes the user back to the request URI.
    406406                'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
    407407                'form_id' => 'loginform',
    408                 'label_username' => __( 'Username or Email' ),
     408                'label_username' => __( 'Username or Email Address' ),
    409409                'label_password' => __( 'Password' ),
    410410                'label_remember' => __( 'Remember Me' ),
    411411                'label_log_in' => __( 'Log In' ),