Don't show tags on the category page.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-03-26 17:25:15 +00:00
parent cbe226d621
commit 2f391a1ad4
1 changed files with 4 additions and 0 deletions

View File

@ -77,8 +77,12 @@ function &get_categories($args = '') {
$where .= ' AND link_count > 0';
else
$where .= ' AND category_count > 0';
} else {
$where .= ' AND ( tag_count = 0 OR ( tag_count != 0 AND ( link_count > 0 OR category_count > 0 ) ) ) ';
}
if ( !empty($number) )
$number = 'LIMIT ' . $number;
else