Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#40182 closed enhancement (duplicate)

Pass $post to attachment_submitbox_misc_actions action for context.

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

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 8 years ago.

Download all attachments as: .zip

Change History (2)

@tosho
8 years ago

#1 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to 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.