[wp-trac] [WordPress Trac] #28962: Impossible to close the interim login modal
WordPress Trac
noreply at wordpress.org
Sun Oct 5 12:32:57 UTC 2014
#28962: Impossible to close the interim login modal
-------------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+------------------------------
Changes (by nofearinc):
* keywords: needs-patch => has-patch needs-testing
Comment:
Originally when `hide()` is called, only the `beforeunload.wp-auth-check`
callback is disabled, but not `heartbeat-tick.wp-auth-check`. The latter
is checking for the `wp-auth-check` value in the callback which can't be
changed since the user is still logged out, we just don't want to display
the popup constantly.
If we deactivate the `heartbeat-tick.wp-auth-check` event handler the
popup verification will be disabled as well until the next request is
processed - and IMO other AJAX requests should behave properly and prevent
non-authorized activities.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28962#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list