- Timestamp:
- 08/26/2021 12:57:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r51278 r51657 598 598 return array_reduce( 599 599 $requested_fields, 600 function( $response_fields, $field ) use ( $fields ) {600 static function( $response_fields, $field ) use ( $fields ) { 601 601 if ( in_array( $field, $fields, true ) ) { 602 602 $response_fields[] = $field;
Note: See TracChangeset
for help on using the changeset viewer.