Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bfb4b8c091
commit
505c0ad074
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue