Changeset 56180 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 07/09/2023 09:46:24 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r55732 r56180 200 200 201 201 if ( 'id' === $field ) { 202 // Make sure the value is numeric to avoid casting objects, for example, 203 // to int 1. 202 // Make sure the value is numeric to avoid casting objects, for example, to int 1. 204 203 if ( ! is_numeric( $value ) ) { 205 204 return false;
Note: See TracChangeset
for help on using the changeset viewer.