CoreFiles by mySites.guru
updates.min.js1 lines, 915 bytes, from wordpress-4.0.37.zip
Raw History Compare with 4.0.36
md5
e2666ba7cfeece0806c2b8b8c48b9e33
sha1
cf096179afa67e977f775683a7cae53a9f3f7091
sha256
80fe23f3f6a6c20bf498e561aaf2f2cdf790b674f9e9a12a32c724e7be45a1b6
window.wp=window.wp||{},function(o,a){a.updates={},a.updates.decrementCount=function(e){var n,t=o("#wp-admin-bar-updates .ab-label"),a=t.text();(a=parseInt(a,10)-1)<0||(o("#wp-admin-bar-updates .ab-item").removeAttr("title"),t.text(a),(t=o('a[href="update-core.php"] .update-plugins')).each(function(e,t){t.className=t.className.replace(/count-\d+/,"count-"+a)}),t.removeAttr("title"),t.find(".update-count").text(a),"plugin"===e&&(t=o("#menu-plugins"),n=t.find(".plugin-count").eq(0).text(),(n=parseInt(n,10)-1)<0||(t.find(".plugin-count").text(n),t.find(".update-plugins").each(function(e,t){t.className=t.className.replace(/count-\d+/,"count-"+n)}))))},o(window).on("message",function(e){var t,n=e.originalEvent,e=document.location,e=e.protocol+"//"+e.hostname;n.origin===e&&void 0!==(t=o.parseJSON(n.data)).action&&"decrementUpdateCount"===t.action&&a.updates.decrementCount(t.upgradeType)})}(jQuery,window.wp);

The same content is in 6 releases, WordPress 4.0.33 to 4.0.38. See them all, or every version of this file.