- Timestamp:
- 07/22/2022 01:58:46 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php
r52079 r53760 135 135 136 136 $response = rest_ensure_response( $data ); 137 $response->add_links( $this->prepare_links( $term ) ); 137 138 if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { 139 $response->add_links( $this->prepare_links( $term ) ); 140 } 138 141 139 142 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */
Note: See TracChangeset
for help on using the changeset viewer.