Add missing break. props nickohrn. fixes #11037
git-svn-id: https://develop.svn.wordpress.org/trunk@12146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f3aae9bc00
commit
f922806cf7
@ -2062,6 +2062,7 @@ class WP_Query {
|
||||
break;
|
||||
case 'comment_count':
|
||||
$orderby = "$wpdb->posts.comment_count";
|
||||
break;
|
||||
default:
|
||||
$orderby = "$wpdb->posts.post_" . $orderby;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user