From f922806cf7936ad8b2aad67a8a0e8592158f5015 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 5 Nov 2009 20:02:18 +0000 Subject: [PATCH] Add missing break. props nickohrn. fixes #11037 git-svn-id: https://develop.svn.wordpress.org/trunk@12146 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/query.php b/wp-includes/query.php index 9cce173ae3..5ee5a05140 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; }