Changeset 5532 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 05/23/2007 08:59:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r5529 r5532 644 644 if ( $checked == $current) 645 645 echo ' checked="checked"'; 646 }647 648 function return_categories_list( $parent = 0 ) {649 global $wpdb;650 return $wpdb->get_col( "SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent AND ( type & " . TAXONOMY_CATEGORY . " != 0 ) AND ( link_count = 0 OR category_count != 0 ) ORDER BY category_count DESC" );651 646 } 652 647
Note: See TracChangeset
for help on using the changeset viewer.