Use IDs instead of classes.

git-svn-id: https://develop.svn.wordpress.org/trunk@790 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-01-24 23:24:46 +00:00
parent 0ab9b235c5
commit 7aaddac35c

View File

@ -545,7 +545,7 @@ WHERE link_visible = 'Y'
$orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby;
// Display the category name
echo ' <li class="'.sanitize_title($cat['cat_name']).'">' . stripslashes($cat['cat_name']) . "\n\t<ul>\n";
echo ' <li id="'.sanitize_title($cat['cat_name']).'">' . stripslashes($cat['cat_name']) . "\n\t<ul>\n";
// Call get_links() with all the appropriate params
get_links($cat['link_category'],
'<li>',"</li>","\n",