mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@22845 602fd350-edb4-49c9-b593-d223f7449a82