Pull thumbnail scripts out of Posts screens too. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9ed18b720
commit
7927c2f6c6
|
@ -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