mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user