CoreFiles by mySites.guru
api-request.min.js1 lines, 768 bytes, from wordpress-5.2.13.zip
Raw History Compare with 5.2.12
md5
0b18fb5b82b71ce7197cac16e05b06ba
sha1
d763b463cbbee5c5e80025f6f889a4f23909157f
sha256
92bfa0c40e4ac63bd4250520dc726bdb5f28bc45d2b420c07d6d1e0b726bd56b
!function(d){var s=window.wpApiSettings;function n(e){return e=n.buildAjaxOptions(e),n.transport(e)}n.buildAjaxOptions=function(e){var n,t,a,p,r,o=e.url,i=e.path;if("string"==typeof e.namespace&&"string"==typeof e.endpoint&&(t=e.namespace.replace(/^\/|\/$/g,""),i=(n=e.endpoint.replace(/^\//,""))?t+"/"+n:t),"string"==typeof i&&(t=s.root,i=i.replace(/^\//,""),"string"==typeof t&&-1!==t.indexOf("?")&&(i=i.replace("?","&")),o=t+i),p=!(e.data&&e.data._wpnonce),a=e.headers||{},p)for(r in a)if(a.hasOwnProperty(r)&&"x-wp-nonce"===r.toLowerCase()){p=!1;break}return p&&(a=d.extend({"X-WP-Nonce":s.nonce},a)),delete(e=d.extend({},e,{headers:a,url:o})).path,delete e.namespace,delete e.endpoint,e},n.transport=d.ajax,window.wp=window.wp||{},window.wp.apiRequest=n}(jQuery);

The same content is in 82 releases, WordPress 5.0.12 to 5.3.27. See them all, or every version of this file.