Changeset 5184 for trunk/wp-includes/category.php
- Timestamp:
- 04/05/2007 09:16:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category.php
r5179 r5184 1 1 <?php 2 3 define('TAXONOMY_CATEGORY', 1); 4 define('TAXONOMY_TAG', 2); 2 5 3 6 function get_all_category_ids() { … … 79 82 $where .= ' AND category_count > 0'; 80 83 } else { 81 $where .= ' AND ( t ag_count = 0 OR ( tag_count != 0 AND ( link_count > 0 OR category_count > 0 ) )) ';84 $where .= ' AND ( type & ' . TAXONOMY_CATEGORY . ' != 0 ) '; 82 85 } 83 86
Note: See TracChangeset
for help on using the changeset viewer.