Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#22778 closed defect (bug) (fixed)

Move wp_print_media_templates() to wp-includes/media-template.php

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords:
Focuses: Cc:


So we can lazy-load it. I have been waiting to do this for a month, but kept wanting to not break patches. Finally time.

Change History (2)

#1 @nacin
11 years ago

  • Owner set to nacin
  • Status changed from new to assigned
  • Version set to trunk

#2 @nacin
11 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 23101:

Break wp_print_media_templates() into wp-includes/media-template.php and lazy-load that file through wp_enqueue_media(). fixes #22778.

Note: See TracTickets for help on using tickets.