- 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-sidebars-controller.php
r52362 r53760 369 369 $response = rest_ensure_response( $data ); 370 370 371 $response->add_links( $this->prepare_links( $sidebar ) ); 371 if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { 372 $response->add_links( $this->prepare_links( $sidebar ) ); 373 } 372 374 373 375 /**
Note: See TracChangeset
for help on using the changeset viewer.