Changeset 55325
- Timestamp:
- 02/13/2023 11:08:23 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r54891 r55325 718 718 $id = $user->ID; 719 719 720 if ( ! $user ) {721 return new WP_Error(722 'rest_user_invalid_id',723 __( 'Invalid user ID.' ),724 array( 'status' => 404 )725 );726 }727 728 720 $owner_id = false; 729 721 if ( is_string( $request['email'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.