- Timestamp:
- 12/16/2018 02:16:16 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43862
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r44127 r44225 747 747 748 748 $request->set_param( 'context', 'edit' ); 749 750 // Filter is fired in WP_REST_Attachments_Controller subclass. 751 if ( 'attachment' === $this->post_type ) { 752 $response = $this->prepare_item_for_response( $post, $request ); 753 return rest_ensure_response( $response ); 754 } 749 755 750 756 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php */
Note: See TracChangeset
for help on using the changeset viewer.