WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#22060 closed defect (bug) (fixed)

wp_print_media_templates should be called by media_buttons

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

Description (last modified by sushkov)

This is needed in order to maintain a consistency with the upcoming new media UI changes.

I also cleaned up calls that are already fired by media_buttons.

Attachments (1)

22060.diff (1017 bytes) - added by sushkov 8 years ago.

Download all attachments as: .zip

Change History (6)

@sushkov
8 years ago

#1 @sushkov
8 years ago

  • Description modified (diff)

#2 @sushkov
8 years ago

  • Keywords has-patch added

#3 @ocean90
8 years ago

  • Cc koopersmith added
  • Milestone changed from Awaiting Review to 3.5

#4 @nacin
8 years ago

In 22488:

Allow wp_plupload_default_settings() to be called multiple times without doubling up the output. see #22060.

#5 @koopersmith
8 years ago

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

In 22489:

Media: Add wp_enqueue_media to easily include all media dependencies.

Also, media templates now print on wp_footer.

props sushkov. fixes #22060, see #21390.

Note: See TracTickets for help on using tickets.