Changeset 59595 for trunk/src/wp-includes/user.php
- Timestamp:
- 01/09/2025 07:41:47 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r59377 r59595 49 49 ); 50 50 51 if ( ! empty( $_POST['log'] ) ) {51 if ( ! empty( $_POST['log'] ) && is_string( $_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 }
Note: See TracChangeset
for help on using the changeset viewer.