WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 7 months ago

#22060 closed defect (bug) (fixed)

wp_print_media_templates should be called by media_buttons

Reported by: sushkov Owned by: koopersmith
Priority: normal Milestone: 3.5
Component: Media Version: 3.5
Severity: normal Keywords: has-patch
Cc: koopersmith, stas@…

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 9 months ago.

Download all attachments as: .zip

Change History (6)

sushkov9 months ago

comment:1 sushkov9 months ago

  • Description modified (diff)

comment:2 sushkov9 months ago

  • Keywords has-patch added

comment:3 ocean909 months ago

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

comment:4 nacin7 months ago

In 22488:

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

comment:5 koopersmith7 months 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.