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:
parent
2cc31e7848
commit
ab084d4ca3
|
@ -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 .= " (".$category->cat_count.")";
|
||||
$link .= ' ('.$category->cat_count.')';
|
||||
}
|
||||
if (intval($optiondates) == 1) {
|
||||
$link .= " ".$category->lastday."/".$category->lastmonth."";
|
||||
$link .= ' '.$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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue