Use IDs instead of classes.

git-svn-id: http://svn.automattic.com/wordpress/trunk@790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-01-24 23:24:46 +00:00
parent 04541968dc
commit 215d39b88d
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ WHERE link_visible = 'Y'
$orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby; $orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby;
// Display the category name // 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 // Call get_links() with all the appropriate params
get_links($cat['link_category'], get_links($cat['link_category'],
'<li>',"</li>","\n", '<li>',"</li>","\n",