Make WordPress Core


Ignore:
Timestamp:
03/26/2007 05:25:15 PM (17 years ago)
Author:
matt
Message:

Don't show tags on the category page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category.php

    r4848 r5112  
    7878        else
    7979            $where .= ' AND category_count > 0';
    80     }
     80    } else {
     81        $where .= ' AND ( tag_count = 0 OR ( tag_count != 0 AND ( link_count > 0 OR category_count > 0 ) ) ) ';
     82    }
     83
     84   
    8185
    8286    if ( !empty($number) )
Note: See TracChangeset for help on using the changeset viewer.