diff --git a/wp-admin/js/categories.dev.js b/wp-admin/js/categories.dev.js index dbfbb797be..9125ebcbce 100644 --- a/wp-admin/js/categories.dev.js +++ b/wp-admin/js/categories.dev.js @@ -6,7 +6,7 @@ jQuery(document).ready(function($) { addAfter = function( r, settings ) { var name, id; - name = $("" + $('name', r).text() + "").html(); + name = $("" + $('name', r).text() + "").text(); id = $('cat', r).attr('id'); options[options.length] = new Option(name, id); } diff --git a/wp-admin/js/categories.js b/wp-admin/js/categories.js index c3103bf38d..0b4d603fd7 100644 --- a/wp-admin/js/categories.js +++ b/wp-admin/js/categories.js @@ -1 +1 @@ -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()+"").html();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"+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 'try{convertEntities(catL10n);}catch(e){};' ) ); - $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), '20090623' ); + $scripts->add( 'admin-categories', "/wp-admin/js/categories$suffix.js", array('wp-lists'), '20091119' ); $scripts->add_data( 'admin-categories', 'group', 1 ); $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery'), '20090623' );