Make WordPress Core

Opened 9 months ago

Closed 5 months ago

#48443 closed defect (bug) (fixed)

Pass the user object to the post_locked_dialog action

Reported by: johnbillion Owned by: johnbillion
Milestone: 5.4 Priority: normal
Severity: normal Version: 3.6
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:


The $user object should be passed to the post_locked_dialog action so any callbacks attached to it don't need to re-fetch the user object from the lock.

Attachments (1)

48443.diff (718 bytes) - added by johnbillion 9 months ago.

Download all attachments as: .zip

Change History (3)

9 months ago

#1 @johnbillion
9 months ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 5.4

#2 @johnbillion
5 months ago

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

In 47206:

Posts, Post Types: Add a parameter to the post_locked_dialog action which contains a reference to the user who holds the lock.

Fixes #48443

Note: See TracTickets for help on using tickets.