pull thumbnail scripts out of Page admin pages. see #10928. props scribu, gracious even in reversion.

git-svn-id: https://develop.svn.wordpress.org/trunk@12064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2009-10-19 21:46:10 +00:00
parent 4299a36395
commit 8276810f7f
2 changed files with 0 additions and 2 deletions

View File

@ -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_pages') ) {
$action = 'post';

View File

@ -108,7 +108,6 @@ case 'edit':
add_thickbox();
wp_enqueue_script('media-upload');
wp_enqueue_script('word-count');
wp_enqueue_script('set-post-thumbnail-handler');
if ( $last = wp_check_post_lock( $post->ID ) ) {
add_action('admin_notices', '_admin_notice_post_locked' );