WordPress.org

Make WordPress Core

Ticket #14575: 14575.diff

File 14575.diff, 834 bytes (added by mdawaffe, 4 years ago)
  • wp-includes/user.php

     
    106106                return $userdata; 
    107107 
    108108        if ( !wp_check_password($password, $userdata->user_pass, $userdata->ID) ) 
    109                 return new WP_Error('incorrect_password', sprintf(__('<strong>ERROR</strong>: Incorrect password. <a href="%s" title="Password Lost and Found">Lost your password</a>?'), site_url('wp-login.php?action=lostpassword', 'login'))); 
     109                return new WP_Error('incorrect_password', sprintf(__('<strong>ERROR</strong>: Invalid username or incorrect password. <a href="%s" title="Password Lost and Found">Lost your password</a>?'), site_url('wp-login.php?action=lostpassword', 'login'))); 
    110110 
    111111        $user =  new WP_User($userdata->ID); 
    112112        return $user;