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

git-svn-id: http://core.svn.wordpress.org/trunk@22969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-02 16:33:20 +00:00
parent a5549c1d16
commit 1fd29d4b4c
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' );
}
/**