Changeset 1280
- Timestamp:
- 05/14/2004 07:44:23 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-category.php
r1278 r1280 300 300 INNER JOIN $tablepost2cat ON (cat_ID = category_id) 301 301 INNER JOIN $tableposts ON (ID = post_id) 302 WHERE 1 = 1$exclusions302 WHERE post_status = 'publish' $exclusions 303 303 GROUP BY category_id"); 304 304 foreach ($cat_counts as $cat_count) { … … 313 313 LEFT JOIN $tablepost2cat ON (cat_ID = category_id) 314 314 LEFT JOIN $tableposts ON (ID = post_id) 315 WHERE 1 = 1$exclusions315 WHERE post_status = 'publish' $exclusions 316 316 GROUP BY category_id"); 317 317 foreach ($cat_dates as $cat_date) {
Note: See TracChangeset
for help on using the changeset viewer.