mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02:00
alphabetized category drop down list
git-svn-id: http://svn.automattic.com/wordpress/trunk@358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
af51dd7eac
commit
76eb648fc9
@ -568,7 +568,7 @@ function profile($user_login) {
|
||||
|
||||
function dropdown_categories($blog_ID=1, $default=1) {
|
||||
global $postdata,$tablecategories,$mode,$querycount, $wpdb;
|
||||
$query="SELECT * FROM $tablecategories";
|
||||
$query="SELECT * FROM $tablecategories ORDER BY cat_name";
|
||||
$results = $wpdb->get_results($query);
|
||||
++$querycount;
|
||||
$width = ($mode=="sidebar") ? "100%" : "170px";
|
||||
|
Loading…
Reference in New Issue
Block a user