Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27081 closed enhancement (fixed)

Run "wp_auth_check" on every Heartbeat tick

Reported by: azaozz Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:


The "cookies expired/is user logged in" check is designed to run on every Heartbeat tick. However it doesn't run when there is no data sent from the browser. Changing the hook from heartbeat_received to heartbeat_send fixes that.

Change History (3)

#1 @nacin
8 years ago

I had mentioned this in IRC. Tested this and looks good.

#2 @nacin
8 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27153:

Run wp_auth_check on every heartbeat tick.

wp_heartbeat_received only runs when data is sent. We want to always pass this data back, though.

fixes #27081.

#3 @azaozz
8 years ago

In 27154:

Remove unused arg from wp_auth_check(), see #27081.

Note: See TracTickets for help on using tickets.