WordPress.org

Make WordPress Core

#22678 closed defect (bug) (fixed)

Add wp_enqueue_media action

Reported by: koopersmith Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: has-patch needs-testing
Focuses: Cc:

Description

We have a few filters in there, but should probably add an action outright, to give plugins a consistent place to hook in and add scripts.

Attachments (1)

22678.diff (401 bytes) - added by koopersmith 17 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 yoavf17 months ago

  • Cc yoavf added

koopersmith17 months ago

comment:2 koopersmith17 months ago

  • Keywords has-patch needs-testing added; needs-patch needs-body removed

comment:3 nacin17 months ago

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

In 22969:

Add wp_enqueue_media action to the function of the same name. props koopersmith, fixes #22678.

Note: See TracTickets for help on using tickets.