Remove thickbox enqueueing. Props azaozz. fixes #7078
git-svn-id: http://svn.automattic.com/wordpress/trunk@8038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dbeefeb210
commit
f67c15ad9c
|
@ -180,12 +180,6 @@ EOF;
|
||||||
printf($context, $out);
|
printf($context, $out);
|
||||||
}
|
}
|
||||||
add_action( 'media_buttons', 'media_buttons' );
|
add_action( 'media_buttons', 'media_buttons' );
|
||||||
|
|
||||||
add_action( 'admin_print_scripts-post-new.php', 'add_thickbox' );
|
|
||||||
add_action( 'admin_print_scripts-post.php', 'add_thickbox' );
|
|
||||||
add_action( 'admin_print_scripts-page-new.php', 'add_thickbox' );
|
|
||||||
add_action( 'admin_print_scripts-page.php', 'add_thickbox' );
|
|
||||||
|
|
||||||
add_action('media_upload_media', 'media_upload_handler');
|
add_action('media_upload_media', 'media_upload_handler');
|
||||||
|
|
||||||
function media_upload_form_handler() {
|
function media_upload_form_handler() {
|
||||||
|
|
Loading…
Reference in New Issue