[wp-cvs]
wordpress/wp-includes template-functions-category.php, 1.36, 1.37
Ryan Boren
rboren at users.sourceforge.net
Tue Jun 22 01:42:26 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3852
Modified Files:
template-functions-category.php
Log Message:
Add missing breaks to the_category().
Index: template-functions-category.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-category.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** template-functions-category.php 18 Jun 2004 00:22:09 -0000 1.36
--- template-functions-category.php 22 Jun 2004 01:42:24 -0000 1.37
***************
*** 100,107 ****
--- 100,109 ----
if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, TRUE);
$thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '">'.$category->cat_name.'</a>';
+ break;
case 'single':
$thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '">';
if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, FALSE);
$thelist .= "$category->cat_name</a>";
+ break;
case '':
default:
More information about the cvs
mailing list