Have links use unique class.

git-svn-id: http://svn.automattic.com/wordpress/trunk@788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-01-24 23:12:55 +00:00
parent 7f26553e2d
commit 5b908a99d9
1 changed files with 1 additions and 2 deletions

View File

@ -545,8 +545,7 @@ WHERE link_visible = 'Y'
$orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby;
// Display the category name
echo ' <li class="links">' . stripslashes($cat['cat_name']) . "\n\t<ul>\n";
echo ' <li class="'.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",