WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/16/2013 07:03:59 PM (7 years ago)
Author:
nacin
Message:

Remove unused admin-categories and admin-custom-fields JavaScript files. props ocean90. fixes #23486.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r23442 r23446  
    357357        ) );
    358358
    359         $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), false, 1 );
    360 
    361359        $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), false, 1 );
    362360        did_action( 'init' ) && $scripts->localize( 'admin-tags', 'tagsl10n', array(
     
    364362            'broken' => __('An unidentified error has occurred.')
    365363        ));
    366 
    367         $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), false, 1 );
    368364
    369365        $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'quicktags', 'jquery-query'), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.