Changeset 3967

Show
Ignore:
Timestamp:
07/05/06 01:56:47 (2 years ago)
Author:
ryan
Message:

Give feedback if username or password fields are empty. Props Nazgul. fixes #2901

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/wp-login.php

    r3937 r3967  
    205205                $error = __('Your session has expired.'); 
    206206        } 
     207    } else if ( empty($user_login) ) { 
     208        $error = __('<strong>Error</strong>: The username field is empty.'); 
     209    } else if ( empty($user_pass) ) { 
     210        $error = __('<strong>Error</strong>: The password field is empty.'); 
    207211    } 
    208212?>