Changeset 43437 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 07/11/2018 06:22:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r43087 r43437 369 369 $data = $this->filter_response_by_context( $data, $context ); 370 370 371 $links = $response->get_links(); 372 371 373 // Wrap the data in a response object. 372 374 $response = rest_ensure_response( $data ); 373 374 $response->add_links( $this->prepare_links( $post ) ); 375 $response->add_links( $links ); 375 376 376 377 /**
Note: See TracChangeset
for help on using the changeset viewer.