Changeset 48198 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 06/28/2020 11:51:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r48121 r48198 606 606 607 607 foreach ( $data['_links'] as $rel => $links ) { 608 // If a list of relations was specified, and the link relation is not in the list of allowed relations, don't process the link. 608 // If a list of relations was specified, and the link relation 609 // is not in the list of allowed relations, don't process the link. 609 610 if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) { 610 611 continue;
Note: See TracChangeset
for help on using the changeset viewer.