Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#27081 closed enhancement (fixed)

Run "wp_auth_check" on every Heartbeat tick

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

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

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

#2 @nacin
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → 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
13 years ago

In 27154:

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

Note: See TracTickets for help on using tickets.