- Timestamp:
- 09/14/2023 12:44:23 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r56195 r56586 985 985 public function prepare_item_for_response( $item, $request ) { 986 986 // Restores the more descriptive, specific name for use within this method. 987 $user = $item; 987 $user = $item; 988 989 $fields = $this->get_fields_for_response( $request ); 988 990 $data = array(); 989 $fields = $this->get_fields_for_response( $request );990 991 991 992 if ( in_array( 'id', $fields, true ) ) {
Note: See TracChangeset
for help on using the changeset viewer.