home/wwgoat/public_html/blog/wp-includes/js/wp-auth-check.js 0000644 00000010157 14720661121 0020101 0 ustar 00 /**
* Interim login dialog.
*
* @output wp-includes/js/wp-auth-check.js
*/
( function( $ ) {
var wrap,
tempHidden,
tempHiddenTimeout;
/**
* Shows the authentication form popup.
*
* @since 3.6.0
* @private
*/
function show() {
var parent = $( '#wp-auth-check' ),
form = $( '#wp-auth-check-form' ),
noframe = wrap.find( '.wp-auth-fallback-expired' ),
frame, loaded = false;
if ( form.length ) {
// Add unload confirmation to counter (frame-busting) JS redirects.
$( window ).on( 'beforeunload.wp-auth-check', function( event ) {
event.originalEvent.returnValue = window.wp.i18n.__( 'Your session has expired. You can log in again from this page or go to the login page.' );
});
frame = $( '