[wp-cvs] wordpress/wp-includes template-functions-category.php, 1.49, 1.50

Matthew Mullenweg saxmatt at users.sourceforge.net
Sat Jan 29 20:14:57 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32044/wp-includes

Modified Files:
	template-functions-category.php 
Log Message:
Patch from Adi Sieker

Index: template-functions-category.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-category.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** template-functions-category.php	26 Jan 2005 22:49:18 -0000	1.49
--- template-functions-category.php	29 Jan 2005 20:14:55 -0000	1.50
***************
*** 323,327 ****
  	
  	foreach ($categories as $category) {
! 		if ((intval($hide_empty) == 0 || isset($category_posts["$category->cat_ID"])) && (!$hierarchical || $category->category_parent == $child_of) && ($children || $category->category_parent == 0)) {
  			$num_found++;
  			$link = '<a href="'.get_category_link(0, $category->cat_ID, $category->category_nicename).'" ';
--- 323,327 ----
  	
  	foreach ($categories as $category) {
! 		if ((intval($hide_empty) == 0 || isset($category_posts["$category->cat_ID"])) && (!$hierarchical || $category->category_parent == $child_of) ) {
  			$num_found++;
  			$link = '<a href="'.get_category_link(0, $category->cat_ID, $category->category_nicename).'" ';
***************
*** 354,358 ****
  
  				if (! empty($feed_image)) {
! 					$link .= "<img src=\"$feed_image\" border=\"0\"$alt$title" . ' />';
  				} else {
  					$link .= $name;
--- 354,358 ----
  
  				if (! empty($feed_image)) {
! 					$link .= "<img src='$feed_image' $alt$title" . ' />';
  				} else {
  					$link .= $name;



More information about the cvs mailing list