Removed extra closing anchor tag.

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


git-svn-id: https://develop.svn.wordpress.org/trunk@272 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-07-24 00:59:07 +00:00
parent 51395412e7
commit 41aedd5e68
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) { foreach ($categories as $category) {
$cat_name = apply_filters('list_cats', $category->cat_name); $cat_name = apply_filters('list_cats', $category->cat_name);
$link = "<a href=\"".$file.$querystring_start.'cat'.$querystring_equal.$category->cat_ID.'">'; $link = '<a href="'.$file.$querystring_start.'cat'.$querystring_equal.$category->cat_ID.'">';
$link .= stripslashes($cat_name)."</a>"; $link .= stripslashes($cat_name).'</a>';
if (intval($optioncount) == 1) { if (intval($optioncount) == 1) {
$link .= "&nbsp;&nbsp;(".$category->cat_count.")"; $link .= '&nbsp;&nbsp;('.$category->cat_count.')';
} }
if (intval($optiondates) == 1) { if (intval($optiondates) == 1) {
$link .= "&nbsp;&nbsp;".$category->lastday."/".$category->lastmonth.""; $link .= '&nbsp;&nbsp;'.$category->lastday.'/'.$category->lastmonth;
} }
$link .= "</a>";
if ($list) { if ($list) {
echo "\n\t<li>$link</li>"; echo "\t<li>$link</li>\n";
} else { } else {
echo "\t$link<br />\n"; echo "\t$link<br />\n";
} }