Changeset 44225 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- 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-attachments-controller.php
r44216 r44225 237 237 238 238 $attachment = get_post( $request['id'] ); 239 240 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php */241 do_action( 'rest_insert_attachment', $data, $request, false );242 239 243 240 $fields_update = $this->update_additional_fields_for_object( $attachment, $request );
Note: See TracChangeset
for help on using the changeset viewer.