Remove category ordering. Props filosofo. fixes #9228

git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-03-13 22:01:33 +00:00
parent cba3b3d41c
commit 6af5462708
1 changed files with 1 additions and 1 deletions

View File

@ -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';