Make WordPress Core

Ticket #31870: 31870.patch

File 31870.patch, 895 bytes (added by ramiy, 11 years ago)
  • wp-includes/user.php

     
    150150                return $user;
    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">Lost your password?</a>' ),
    154                 $username, wp_lostpassword_url() ) );
     153                return new WP_Error( 'incorrect_password',
     154                        sprintf(
     155                                /* translators: 1: user name 2: lost password url */
     156                                __( '<strong>ERROR</strong>: The password you entered for the username %1$s is incorrect. <a href="%2$s">Lost your password?</a>' ),
     157                                '<strong>' . $username . '</strong>',
     158                                wp_lostpassword_url()
     159                        )
     160                );
    155161
    156162        return $user;
    157163}