Changeset 43438 for branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 07/11/2018 09:20:10 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r42450 r43438 347 347 $data = $this->filter_response_by_context( $data, $context ); 348 348 349 $links = $response->get_links(); 350 349 351 // Wrap the data in a response object. 350 352 $response = rest_ensure_response( $data ); 351 352 $response->add_links( $this->prepare_links( $post ) ); 353 $response->add_links( $links ); 353 354 354 355 /**
Note: See TracChangeset
for help on using the changeset viewer.