From 7b40dadd8daf0d306434ae7a0a355db4cf9055cc Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 5 Nov 2009 20:02:18 +0000 Subject: [PATCH] Add missing break. props nickohrn. fixes #11037 git-svn-id: http://svn.automattic.com/wordpress/trunk@12146 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/query.php b/wp-includes/query.php index 9cce173ae..5ee5a0514 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -2062,6 +2062,7 @@ class WP_Query { break; case 'comment_count': $orderby = "$wpdb->posts.comment_count"; + break; default: $orderby = "$wpdb->posts.post_" . $orderby; }