Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#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:


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

Download all attachments as: .zip

Change History (4)

#1 @yoavf
3 years ago

  • Cc yoavf added

3 years ago

#2 @koopersmith
3 years ago

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

#3 @nacin
3 years 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.