mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Add missing break. props nickohrn. fixes #11037
git-svn-id: http://svn.automattic.com/wordpress/trunk@12146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c5fd618f70
commit
7b40dadd8d
@ -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