Ticket #2901: 2901.diff

File 2901.diff, 629 bytes (added by Nazgul, 6 years ago)
  • wp-login.php

     
    204204                        wp_redirect($redirect_to); 
    205205                        exit; 
    206206                } else { 
     207                        $error = __('Incorrect username or password.'); 
    207208                        if ( $using_cookie ) 
    208209                                $error = __('Your session has expired.'); 
    209210                } 
    210211        } 
     212        else if ( $user_login || $user_pass ) 
     213                $error = __('Incorrect username or password.'); 
    211214?> 
    212215<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    213216<html xmlns="http://www.w3.org/1999/xhtml">