Removed extra closing anchor tag.

double quotes -> single.
http://wordpress.org/support/6/366


git-svn-id: http://svn.automattic.com/wordpress/trunk@272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-07-24 00:59:07 +00:00
parent 2cc31e7848
commit ab084d4ca3
1 changed files with 5 additions and 6 deletions

View File

@ -891,17 +891,16 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde
}
foreach ($categories as $category) {
$cat_name = apply_filters('list_cats', $category->cat_name);
$link = "<a href=\"".$file.$querystring_start.'cat'.$querystring_equal.$category->cat_ID.'">';
$link .= stripslashes($cat_name)."</a>";
$link = '<a href="'.$file.$querystring_start.'cat'.$querystring_equal.$category->cat_ID.'">';
$link .= stripslashes($cat_name).'</a>';
if (intval($optioncount) == 1) {
$link .= "&nbsp;&nbsp;(".$category->cat_count.")";
$link .= '&nbsp;&nbsp;('.$category->cat_count.')';
}
if (intval($optiondates) == 1) {
$link .= "&nbsp;&nbsp;".$category->lastday."/".$category->lastmonth."";
$link .= '&nbsp;&nbsp;'.$category->lastday.'/'.$category->lastmonth;
}
$link .= "</a>";
if ($list) {
echo "\n\t<li>$link</li>";
echo "\t<li>$link</li>\n";
} else {
echo "\t$link<br />\n";
}