Make WordPress Core

Changeset 1324


Ignore:
Timestamp:
05/20/2004 11:41:54 AM (20 years ago)
Author:
saxmatt
Message:

Order categories alphabetically.

File:
1 edited

Legend:

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

    r1323 r1324  
    3636 }
    3737
    38  $categories = $wpdb->get_results("SELECT * FROM $tablecategories ORDER BY category_parent DESC");
     38 $categories = $wpdb->get_results("SELECT * FROM $tablecategories ORDER BY category_parent DESC, cat_name ASC");
    3939 $result = array();
    4040 foreach($categories as $category) {
Note: See TracChangeset for help on using the changeset viewer.