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

WordPress Trac noreply at wordpress.org
Mon Feb 9 07:15:50 UTC 2015


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

Comment (by dd32):

 As @pento pointed out - r22845 from the linked thread above.

 For 4.1.1, I think we should just revert those changes to `admin-ajax.php`
 made in [30354].

 [attachment:31037.diff 31037.diff] implements an (untested) alternative
 for 4.2, simply add a `$content_type` parameter, so we're explicit in what
 we're sending so this doesn't happen again.. I'm not entirely sure I like
 the parameter, but since it's needed for older browsers, doesn't seem too
 horrible.

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


More information about the wp-trac mailing list