[wp-trac] [WordPress Trac] #4319: Boomark Link
WordPress Trac
wp-trac at lists.automattic.com
Wed May 23 07:51:25 GMT 2007
#4319: Boomark Link
----------------------+-----------------------------------------------------
Reporter: wesselam | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: Template | Version:
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
bookmark-template.php
line: 61, 229-244
line 61 :get_links (.. $echo = false)
line:229-244
foreach ( (array) $cats as $cat ) {
// Handle each category.
$bglink= get_links($cat->cat_ID, '<li>', "</li>",
"\n", true, 'name', false);
if(is_null($bglink))
return false;
// Display the category name
echo ' <li id="linkcat-' . $cat->cat_ID . '"
class="linkcat"><h2>' . $cat->cat_name . "</h2>\n\t<ul>\n";
// Call get_links() with all the appropriate
params
print $bglink;
// Close the last category
echo "\n\t</ul>\n</li>\n";
}
--
Ticket URL: <http://trac.wordpress.org/ticket/4319>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list