- Timestamp:
- 07/22/2022 01:58:46 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r53544 r53760 332 332 $response = rest_ensure_response( $data ); 333 333 334 $response->add_links( $this->prepare_links( $theme ) ); 334 if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { 335 $response->add_links( $this->prepare_links( $theme ) ); 336 } 335 337 336 338 /**
Note: See TracChangeset
for help on using the changeset viewer.