[wp-trac] [WordPress Trac] #31037: Uploading files through media modal causes error in < IE10

WordPress Trac noreply at wordpress.org
Thu Feb 12 01:32:28 UTC 2015


#31037: Uploading files through media modal causes error in < IE10
--------------------------+---------------------
 Reporter:  joehoyle      |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1.1
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by dd32):

 In [changeset:"31430"]:
 {{{
 #!CommitTicketReference repository="" revision="31430"
 Prevent IE9 and lower displaying the download file dialogue when
 attempting
 to upload using the `html4` Plupload handler.

 The HTML4 Plupload handler uses a hidden iframe to POST the upload form,
 and
 unfortunately Internet Explorer 9 doesn't support the `application/json`
 content-type which `wp_send_json_success()` and requires `text/html`
 instead.

 This partially reverts [30354], keeping the better error messages.

 Merges [31429] to the 4.1 branch.
 Fixes #31037.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31037#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list