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:
parent
04541968dc
commit
215d39b88d
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue