From 6af54627083598f20ae0af5c8a629dcb708b2a96 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 13 Mar 2009 22:01:33 +0000 Subject: [PATCH] Remove category ordering. Props filosofo. fixes #9228 git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index bcbb3b89e3..7bb6448b6e 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -2019,7 +2019,7 @@ class WP_Query { $q['orderby'] = "$wpdb->posts.post_date ".$q['order']; } else { // Used to filter values - $allowed_keys = array('author', 'date', 'category', 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand'); + $allowed_keys = array('author', 'date', 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand'); if ( !empty($q['meta_key']) ) { $allowed_keys[] = $q['meta_key']; $allowed_keys[] = 'meta_value';