Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#40182 closed enhancement (duplicate)

Pass $post to attachment_submitbox_misc_actions action for context.

Reported by: tosho Owned by:
Priority: normal Milestone:
Component: Media Version: 3.5
Severity: normal Keywords:
Cc: Focuses: administration

Description

  • Avoids having to check for a global post in the callback.
  • Consistent with post_submitbox_misc_actions.

Attachments (1)

40182.diff​ (577 bytes ) - added by tosho 10 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Hi @tosho, welcome to WordPress Trac!

Thanks for the ticket, we're already tracking this enhancement in #36206.

Note: See TracTickets for help on using tickets.