Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#27081 closed enhancement (fixed)

Run "wp_auth_check" on every Heartbeat tick

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

Description

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
11 years ago

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

#2 @nacin
11 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
11 years ago

In 27154:

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

Note: See TracTickets for help on using tickets.