Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #31037


Ignore:
Timestamp:
01/16/2015 03:32:29 PM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31037

    • Property Milestone changed from Awaiting Review to 4.1.1
  • Ticket #31037 – Description

    initial v3  
    33This was discussed at some length with the introduction of the new Media Modal here: https://core.trac.wordpress.org/ticket/22446#comment:20 long story short - returning `application/json` is not usually a problem as jQuery automatically handles it for older versions of IE, however this particular request is handled by Plupload which does not handle this edge case.
    44
    5 Before https://core.trac.wordpress.org/changeset/30354 this endpoint returned `text/html` as it's Content Type; however now `wp_send_json_error` and associated functions are used which triggers a `Content-Type` header of `application/json`.
     5Before [30354] this endpoint returned `text/html` as it's Content Type; however now `wp_send_json_error` and associated functions are used which triggers a `Content-Type` header of `application/json`.
    66
    77I'm not sure what versions of IE is "officially" supported, but it would seem right now the upload file workflow feels broken in < IE10.