WordPress.org

Make WordPress Core

Ticket #10928: revert_page_scripts.diff

File revert_page_scripts.diff, 844 bytes (added by scribu, 5 years ago)
  • wp-admin/page-new.php

     
    1818add_thickbox(); 
    1919wp_enqueue_script('media-upload'); 
    2020wp_enqueue_script('word-count'); 
    21 wp_enqueue_script('set-post-thumbnail-handler'); 
    2221 
    2322if ( current_user_can('edit_pages') ) { 
    2423        $action = 'post'; 
  • wp-admin/page.php

     
    108108        add_thickbox(); 
    109109        wp_enqueue_script('media-upload'); 
    110110        wp_enqueue_script('word-count'); 
    111         wp_enqueue_script('set-post-thumbnail-handler'); 
    112111 
    113112        if ( $last = wp_check_post_lock( $post->ID ) ) { 
    114113                add_action('admin_notices', '_admin_notice_post_locked' );