Make WordPress Core


Ignore:
Timestamp:
05/23/2007 08:59:11 PM (18 years ago)
Author:
ryan
Message:

More rel_type elimination. see #4189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r5529 r5532  
    644644    if ( $checked == $current)
    645645        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" );
    651646}
    652647
Note: See TracChangeset for help on using the changeset viewer.