Add wp_enqueue_media action to the function of the same name. props koopersmith, fixes #22678.

git-svn-id: https://develop.svn.wordpress.org/trunk@22969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-12-02 16:33:20 +00:00
parent 7d0efc4012
commit 1839a359b9
1 changed files with 2 additions and 0 deletions

View File

@ -1489,6 +1489,8 @@ function wp_enqueue_media( $args = array() ) {
wp_plupload_default_settings();
add_action( 'admin_footer', 'wp_print_media_templates' );
add_action( 'wp_footer', 'wp_print_media_templates' );
do_action( 'wp_enqueue_media' );
}
/**