WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#40182 closed enhancement (duplicate)

Pass $post to attachment_submitbox_misc_actions action for context.

Reported by: 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 2 years ago.

Download all attachments as: .zip

Change History (2)

@tosho
2 years ago

#1 @SergeyBiryukov
2 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.