BACK TO DIRECTORY

IDN AJAX Workaround

by Sergey Biryukov

0.0
(0 ratings)

In jQuery 1.5+ (bundled with WordPress 3.2+), AJAX requests on sites with IDN domains don’t work in IE or Opera.

On Edit Post screen, adding a new category results in JS error:

Message: 'parsed.responses' - is null or not an object

On Categories screen, adding a new category silently fails.

According to jaubourg’s comment 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.

This plugin implements a workaround suggested there by making AJAX requests relative.

WordPress Trac ticket: #18952

Plugin Details

Active Installs
10
Total Downloads
3,266
Version
0.1
Requires WP
3.2
Requires PHP
Tested Up To
3.3.2
Added
2011-10-20
Last Updated
2012-05-03 4:48pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0