[wp-trac] [WordPress Trac] #22446: Insert Media modal: IE 7, 8, and 9 issues
WordPress Trac
noreply at wordpress.org
Mon Nov 26 20:12:51 UTC 2012
#22446: Insert Media modal: IE 7, 8, and 9 issues
-------------------------------+-----------------------
Reporter: SergeyBiryukov | Owner: ocean90
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch audit |
-------------------------------+-----------------------
Comment (by nacin):
In [changeset:"22845"]:
{{{
#!CommitTicketReference repository="" revision="22845"
Don't use wp_send_json_* handlers in the upload-attachment XHR handler.
The difference is the content type: application/json (which jQuery
deserializes automatically for us) and the default text/html.
jQuery correctly handles application/json requests for IE, so we can
continue to use the wp_send_json_* handlers elsewhere. Plupload rolls its
own requests and does not handle application/json correctly. So, keep the
standard text/html content type on upload-attachment.
props koopersmith.
see #22446.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22446#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list