Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12065 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8276810f7f
commit
0c847d8256
|
@ -18,7 +18,6 @@ if ( user_can_richedit() )
|
|||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
wp_enqueue_script( 'set-post-thumbnail-handler' );
|
||||
|
||||
if ( ! current_user_can('edit_posts') ) {
|
||||
require_once ('./admin-header.php'); ?>
|
||||
|
|
|
@ -141,7 +141,6 @@ case 'edit':
|
|||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
wp_enqueue_script( 'set-post-thumbnail-handler' );
|
||||
wp_enqueue_script( 'admin-comments' );
|
||||
enqueue_comment_hotkeys_js();
|
||||
|
||||
|
|
Loading…
Reference in New Issue