WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 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:

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

Download all attachments as: .zip

Change History (4)

comment:1 @yoavf2 years ago

  • Cc yoavf added

@koopersmith2 years ago

comment:2 @koopersmith2 years ago

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

comment:3 @nacin2 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.