• trying to change label_username, via general_template.php in wp-include.

    line 405

    changing to

    ‘label_username’ => __( ‘Email /Username’ ),

    has no effect also tried adding tis to functions again with no effect, cache is cleared. 3.9.1

    function wpse60605_change_username_label( $defaults ){
    $defaults[‘label_username’] = __( ‘Username or Email’ );
    return $defaults;
    }
    add_filter( ‘login_form_defaults’, ‘wpse60605_change_username_label’ );

Viewing 2 replies - 1 through 2 (of 2 total)
  • trying to change label_username, via general_template.php in wp-include.

    Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

    Thread Starter k0872

    (@k0872)

    esmi, as you know editing a label will not bring down the site, however you are correct that its not advised, if you are not familiar with the way wordpress works.

    the official advise is here on this site

    http://codex.wordpress.org/Customizing_the_Login_Form.

    should I post there

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘changing label_user no longer works’ is closed to new replies.