Make WordPress Core

Changeset 28870


Ignore:
Timestamp:
06/27/2014 08:04:52 PM (10 years ago)
Author:
wonderboymusic
Message:

Remove title attributes in wp_authenticate_username_password().

Props joedolson.
Fixes #26547.

File:
1 edited

Legend:

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

    r28740 r28870  
    135135
    136136    if ( !$user )
    137         return new WP_Error( 'invalid_username', sprintf( __( '<strong>ERROR</strong>: Invalid username. <a href="%s" title="Password Lost and Found">Lost your password</a>?' ), wp_lostpassword_url() ) );
     137        return new WP_Error( 'invalid_username', sprintf( __( '<strong>ERROR</strong>: Invalid username. <a href="%s">Lost your password</a>?' ), wp_lostpassword_url() ) );
    138138
    139139    /**
     
    151151
    152152    if ( !wp_check_password($password, $user->user_pass, $user->ID) )
    153         return new WP_Error( 'incorrect_password', sprintf( __( '<strong>ERROR</strong>: The password you entered for the username <strong>%1$s</strong> is incorrect. <a href="%2$s" title="Password Lost and Found">Lost your password</a>?' ),
     153        return new WP_Error( 'incorrect_password', sprintf( __( '<strong>ERROR</strong>: The password you entered for the username <strong>%1$s</strong> is incorrect. <a href="%2$s">Lost your password</a>?' ),
    154154        $username, wp_lostpassword_url() ) );
    155155
Note: See TracChangeset for help on using the changeset viewer.