[wp-trac] [WordPress Trac] #22446: Insert Media modal: IE 7, 8, and 9 issues
WordPress Trac
noreply at wordpress.org
Mon Nov 26 19:32:20 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 koopersmith):
The fact that all of the other XHR requests are performing correctly means
that jQuery is handling the current code correctly — the error here is
with plupload. And understandably so, as it is juggling numerous
transports.
Instead of using the new `wp_send_json_*` methods (which we already had to
manually parse), we should just use the traditional method of echoing some
json and calling `wp_die()` in `wp_ajax_upload_attachment()`.
Attaching a patch to do just that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22446#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list