diff --git a/wp-admin/js/categories.js b/wp-admin/js/categories.js
index cc58eb4a30..e69de29bb2 100644
--- a/wp-admin/js/categories.js
+++ b/wp-admin/js/categories.js
@@ -1,34 +0,0 @@
-jQuery(document).ready(function($) {
- var options = false, addAfter, delBefore, delAfter;
- if ( document.forms['addcat'].category_parent )
- options = document.forms['addcat'].category_parent.options;
-
- addAfter = function( r, settings ) {
- var name, id;
-
- name = $("" + $('name', r).text() + "").text();
- id = $('cat', r).attr('id');
- options[options.length] = new Option(name, id);
- }
-
- delAfter = function( r, settings ) {
- var id = $('cat', r).attr('id'), o;
- for ( o = 0; o < options.length; o++ )
- if ( id == options[o].value )
- options[o] = null;
- }
-
- delBefore = function(s) {
- if ( 'undefined' != showNotice )
- return showNotice.warn() ? s : false;
-
- return s;
- }
-
- if ( options )
- $('#the-list').wpList( { addAfter: addAfter, delBefore: delBefore, delAfter: delAfter } );
- else
- $('#the-list').wpList({ delBefore: delBefore });
-
- $('.delete a[class^="delete"]').live('click', function(){return false;});
-});
diff --git a/wp-admin/js/categories.min.js b/wp-admin/js/categories.min.js
index 45c2358a48..e69de29bb2 100644
--- a/wp-admin/js/categories.min.js
+++ b/wp-admin/js/categories.min.js
@@ -1 +0,0 @@
-jQuery(document).ready(function(d){var b=false,e,c,a;if(document.forms.addcat.category_parent){b=document.forms.addcat.category_parent.options}e=function(h,g){var f,i;f=d(""+d("name",h).text()+"").text();i=d("cat",h).attr("id");b[b.length]=new Option(f,i)};a=function(g,f){var i=d("cat",g).attr("id"),h;for(h=0;h __('Separate multiple categories with commas.')
) );
- $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), false, 1 );
-
$scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), false, 1 );
did_action( 'init' ) && $scripts->localize( 'admin-tags', 'tagsl10n', array(
'noPerm' => __('You do not have permission to do that.'),
'broken' => __('An unidentified error has occurred.')
));
- $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), false, 1 );
-
$scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'quicktags', 'jquery-query'), false, 1 );
did_action( 'init' ) && $scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),