Changeset 1389
- Timestamp:
- 06/06/2004 07:21:58 AM (22 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
functions.php (modified) (1 diff)
-
template-functions-category.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1388 r1389 1410 1410 1411 1411 function query_posts($query) { 1412 global $wpdb, $pagenow, $request ;1412 global $wpdb, $pagenow, $request, $user_ID; 1413 1413 1414 1414 parse_str($query); -
trunk/wp-includes/template-functions-category.php
r1385 r1389 313 313 WHERE post_status = 'publish' $exclusions 314 314 GROUP BY category_id"); 315 foreach ($cat_counts as $cat_count) { 316 if (1 != intval($hide_empty) || $cat_count > 0) { 317 $category_posts["$cat_count->cat_ID"] = $cat_count->cat_count; 318 } 319 } 315 if (! empty($cat_counts)) { 316 foreach ($cat_counts as $cat_count) { 317 if (1 != intval($hide_empty) || $cat_count > 0) { 318 $category_posts["$cat_count->cat_ID"] = $cat_count->cat_count; 319 } 320 } 321 } 320 322 } 321 323
Note: See TracChangeset
for help on using the changeset viewer.