Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #48200, comment 7


Ignore:
Timestamp:
10/06/2019 04:51:58 PM (5 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48200, comment 7

    v1 v2  
    44
    55- 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.
    77 - 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.
    88