155 | | if ( !wp_check_password($password, $user->user_pass, $user->ID) ) |
156 | | 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>' ), |
157 | | $username, wp_lostpassword_url() ) ); |
158 | | |
| 155 | if ( !wp_check_password($password, $user->user_pass, $user->ID) ) { |
| 156 | return new WP_Error( 'incorrect_password', |
| 157 | sprintf( |
| 158 | /* translators: 1: user name 2: lost password url */ |
| 159 | __( '<strong>ERROR</strong>: The password you entered for the username %1$s is incorrect. <a href="%2$s">Lost your password?</a>' ), |
| 160 | '<strong>' . $username . '</strong>', |
| 161 | wp_lostpassword_url() |
| 162 | ) |
| 163 | ); |
| 164 | } |