Rename wp.xhr to wp.ajax to match admin-ajax.php (which it uses), jQuery.ajax (which it wraps), etc. see #24424.

git-svn-id: https://develop.svn.wordpress.org/trunk@24652 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-07-11 00:20:36 +00:00
parent b970bdd914
commit 31322f220a
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ window.wp = window.wp || {};
post_id: revisions.settings.postId
});
var deferred = wp.xhr.send( options );
var deferred = wp.ajax.send( options );
var requests = this.requests;
// Record that we're requesting each diff.