Changeset 56193 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 07/10/2023 10:58:33 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r56156 r56193 702 702 703 703 foreach ( $data['_links'] as $rel => $links ) { 704 // If a list of relations was specified, and the link relation 705 // is not in the list of allowed relations, don't process the link. 704 /* 705 * If a list of relations was specified, and the link relation 706 * is not in the list of allowed relations, don't process the link. 707 */ 706 708 if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) { 707 709 continue;
Note: See TracChangeset
for help on using the changeset viewer.