Administration: when hiding the login modal and unbind the auth check, also unbind the heartbeat auth check.
Props nofearinc. Fixes #28962. git-svn-id: https://develop.svn.wordpress.org/trunk@35568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7301c115aa
commit
58c8ffa66d
@ -75,6 +75,7 @@
|
||||
if ( typeof adminpage !== 'undefined' && ( adminpage === 'post-php' || adminpage === 'post-new-php' ) &&
|
||||
typeof wp !== 'undefined' && wp.heartbeat ) {
|
||||
|
||||
$(document).off( 'heartbeat-tick.wp-auth-check' );
|
||||
wp.heartbeat.connectNow();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user