Changes between Version 1 and Version 2 of Ticket #48200, comment 7
- Timestamp:
- 10/06/2019 04:51:58 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48200, comment 7
v1 v2 4 4 5 5 - Upload from the Media modal: 6 - The header is added in `media_handle_upload()` for all uploads, not just for images (like currently). Header is not added when calling `media_handle_sideload()` and `wp_handle_upload()` directly. These are used by some upload plugins, but perhaps we can leave the header out in these cases.6 - The header is added in `media_handle_upload()` for all uploads, not just for images. Header is not added when calling `media_handle_sideload()` and `wp_handle_upload()` directly. These are used by some upload plugins, but perhaps we can leave the header out in these cases. 7 7 - The header is also added while receiving the AJAX "post-process" request for all uploads, not just for images. In the current code the header is not added if the attachment is not an image. 8 8