Ticket #62794: user_password_array.diff
| File user_password_array.diff, 537 bytes (added by , 20 months ago) |
|---|
-
wp-includes/user.php
diff --git a/wp-includes/user.php b/wp-includes/user.php index 700a7589..4fbb9df9 100644
a b function wp_signon( $credentials = array(), $secure_cookie = '' ) { 51 51 if ( ! empty( $_POST['log'] ) ) { 52 52 $credentials['user_login'] = wp_unslash( $_POST['log'] ); 53 53 } 54 if ( ! empty( $_POST['pwd'] ) ) {54 if ( ! empty( $_POST['pwd'] ) && is_string( $_POST['pwd'] ) ) { 55 55 $credentials['user_password'] = $_POST['pwd']; 56 56 } 57 57 if ( ! empty( $_POST['rememberme'] ) ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)