CoreFiles by mySites.guru
wp-auth-check.min.js1 lines, 1,719 bytes, from wordpress-4.2.39.zip
Raw History Compare with 4.2.38
md5
38b299d3a5b0bf83169a4560344b3840
sha1
5934286741e228186dd96f56e82a04624d6a94fb
sha256
19ae15e3888fe585b88794cc69aca5fbb94b41dec10fec2024c8032f003d8197
!function(d){var i,t;function s(){d(window).off("beforeunload.wp-auth-check"),"undefined"==typeof adminpage||"post-php"!==adminpage&&"post-new-php"!==adminpage||"undefined"==typeof wp||!wp.heartbeat||wp.heartbeat.connectNow(),i.fadeOut(200,function(){i.addClass("hidden").css("display",""),d("#wp-auth-check-frame").remove(),d("body").removeClass("modal-open")})}function u(){var e=parseInt(window.authcheckL10n.interval,10)||180;t=(new Date).getTime()+1e3*e}d(document).on("heartbeat-tick.wp-auth-check",function(e,a){var t,c,n,o,h;"wp-auth-check"in a&&(u(),!a["wp-auth-check"]&&i.hasClass("hidden")?(c=d("#wp-auth-check"),n=d("#wp-auth-check-form"),o=i.find(".wp-auth-fallback-expired"),h=!1,n.length&&(d(window).on("beforeunload.wp-auth-check",function(e){e.originalEvent.returnValue=window.authcheckL10n.beforeunload}),(t=d('<iframe id="wp-auth-check-frame" frameborder="0">').attr("title",o.text())).load(function(){var e,a;h=!0;try{e=(a=d(this).contents().find("body")).height()}catch(e){return i.addClass("fallback"),c.css("max-height",""),n.remove(),void o.focus()}e?a&&a.hasClass("interim-login-success")?s():c.css("max-height",e+40+"px"):a&&a.length||(i.addClass("fallback"),c.css("max-height",""),n.remove(),o.focus())}).attr("src",n.data("src")),d("#wp-auth-check-form").append(t)),d("body").addClass("modal-open"),i.removeClass("hidden"),t?(t.focus(),setTimeout(function(){h||(i.addClass("fallback"),n.remove(),o.focus())},1e4)):o.focus()):a["wp-auth-check"]&&!i.hasClass("hidden")&&s())}).on("heartbeat-send.wp-auth-check",function(e,a){(new Date).getTime()>t&&(a["wp-auth-check"]=!0)}).ready(function(){u(),(i=d("#wp-auth-check-wrap")).find(".wp-auth-check-close").on("click",function(){s()})})}(jQuery);

The same content is in 20 releases, WordPress 4.2.30 to 4.3.35. See them all, or every version of this file.