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:
parent
a5549c1d16
commit
1fd29d4b4c
|
@ -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' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue