{"id":15365,"date":"2011-10-20T15:42:49","date_gmt":"2011-10-20T15:42:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/idn-ajax-workaround\/"},"modified":"2012-05-03T16:48:51","modified_gmt":"2012-05-03T16:48:51","slug":"idn-ajax-workaround","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/idn-ajax-workaround\/","author":297445,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"0.1","tested":"3.3.2","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"IDN AJAX Workaround","header_author":"Sergey Biryukov","header_description":"","assets_banners_color":"","last_updated":"2012-05-03 16:48:51","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/core.trac.wordpress.org\/ticket\/18952","header_author_uri":"http:\/\/profiles.wordpress.org\/sergeybiryukov\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3156,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,104,33004],"plugin_category":[48],"plugin_contributors":[77853],"plugin_business_model":[],"class_list":["post-15365","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax","plugin_tags-i18n","plugin_tags-idn","plugin_category-language-tools","plugin_contributors-sergeybiryukov","plugin_committers-sergeybiryukov"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/idn-ajax-workaround.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>In jQuery 1.5+ (bundled with WordPress 3.2+), AJAX requests on sites with IDN domains don't work in IE or Opera.<\/p>\n\n<p>On Edit Post screen, adding a new category results in JS error:<\/p>\n\n<pre><code>Message: 'parsed.responses' - is null or not an object\n<\/code><\/pre>\n\n<p>On Categories screen, adding a new category silently fails.<\/p>\n\n<p>According to <a href=\"http:\/\/bugs.jquery.com\/ticket\/8419#comment:3\">jaubourg's comment<\/a> in jQuery bug tracker, the request is considered cross-domain and, since IE doesn't support cross-domain requests, AJAX won't find a suitable transport and bail out.<\/p>\n\n<p>This plugin implements a workaround suggested there by making AJAX requests relative.<\/p>\n\n<p>WordPress Trac ticket: <a href=\"http:\/\/core.trac.wordpress.org\/ticket\/18952\">#18952<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>idn-ajax-workaround<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Fixes AJAX requests on sites with IDN domains in IE and Opera.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/297445"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=15365"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15365"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15365"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15365"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15365"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15365"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}