Changeset 47297 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 02/17/2020 03:28:05 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r47296 r47297 190 190 require_once ABSPATH . 'wp-admin/includes/image.php'; 191 191 192 // Post-process the upload (create image sub-sizes, make PDF thumbna lis, etc.) and insert attachment meta.192 // Post-process the upload (create image sub-sizes, make PDF thumbnails, etc.) and insert attachment meta. 193 193 // At this point the server may run out of resources and post-processing of uploaded images may fail. 194 194 wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $file ) );
Note: See TracChangeset
for help on using the changeset viewer.