CoreFiles by mySites.guru
api-request.min.js1 lines, 697 bytes, from wordpress-4.9.2.zip
Raw History Compare with 4.9.1
md5
eb5b88948b1755a4bb607c33f63c0096
sha1
f6fbf07c5b5cdbbc685c92133febe50d6e245bd2
sha256
85767ac4891140e3c6a8b97c6b6c3f16ed5a915b80a5f78c4304f7bb4b14c248
!function(a){function b(a){return a=b.buildAjaxOptions(a),b.transport(a)}var c=window.wpApiSettings;b.buildAjaxOptions=function(b){var d,e,f,g,h,i=b.url,j=b.path;if("string"==typeof b.namespace&&"string"==typeof b.endpoint&&(d=b.namespace.replace(/^\/|\/$/g,""),e=b.endpoint.replace(/^\//,""),j=e?d+"/"+e:d),"string"==typeof j&&(i=c.root+j.replace(/^\//,"")),g=!(b.data&&b.data._wpnonce),f=b.headers||{},g)for(h in f)if(f.hasOwnProperty(h)&&"x-wp-nonce"===h.toLowerCase()){g=!1;break}return g&&(f=a.extend({"X-WP-Nonce":c.nonce},f)),b=a.extend({},b,{headers:f,url:i}),delete b.path,delete b.namespace,delete b.endpoint,b},b.transport=a.ajax,window.wp=window.wp||{},window.wp.apiRequest=b}(jQuery);

The same content is in 38 releases, WordPress 4.9-beta1 to 4.9.16. See them all, or every version of this file.