CoreFiles by mySites.guru
api-request.min.js2 lines, 805 bytes, from wordpress-5.5.zip
Raw History Compare with 5.4.25
md5
fba259bfaa5b79101ee7873cfd8290bf
sha1
5a048673d260510800a75e047ae3b8782c4c8933
sha256
309019039f7e4caa5e2008491832afa108964afb6f6d4f009d6ce04bae2b9aae
/*! This file is auto-generated */
!function(s){var w=window.wpApiSettings;function n(e){return e=n.buildAjaxOptions(e),n.transport(e)}n.buildAjaxOptions=function(e){var n,t,a,p,r,o,i=e.url,d=e.path;if("string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),d=(t=e.endpoint.replace(/^\//,""))?n+"/"+t:n),"string"==typeof d&&(a=w.root,d=d.replace(/^\//,""),"string"==typeof a&&-1!==a.indexOf("?")&&(d=d.replace("?","&")),i=a+d),r=!(e.data&&e.data._wpnonce),p=e.headers||{},r)for(o in p)if(p.hasOwnProperty(o)&&"x-wp-nonce"===o.toLowerCase()){r=!1;break}return r&&(p=s.extend({"X-WP-Nonce":w.nonce},p)),delete(e=s.extend({},e,{headers:p,url:i})).path,delete e.namespace,delete e.endpoint,e},n.transport=s.ajax,window.wp=window.wp||{},window.wp.apiRequest=n}(jQuery);

The same content is in 29 releases, WordPress 5.4-beta1 to 5.5.3. See them all, or every version of this file.