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:
parent
7d0efc4012
commit
1839a359b9
|
@ -1489,6 +1489,8 @@ function wp_enqueue_media( $args = array() ) {
|
||||||
wp_plupload_default_settings();
|
wp_plupload_default_settings();
|
||||||
add_action( 'admin_footer', 'wp_print_media_templates' );
|
add_action( 'admin_footer', 'wp_print_media_templates' );
|
||||||
add_action( 'wp_footer', 'wp_print_media_templates' );
|
add_action( 'wp_footer', 'wp_print_media_templates' );
|
||||||
|
|
||||||
|
do_action( 'wp_enqueue_media' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue