mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cab4206406
commit
c92c2be2af
@ -1250,6 +1250,7 @@ class WP_Query {
|
||||
$orderby = $orderby_array[$i];
|
||||
switch ($orderby) {
|
||||
case 'menu_order':
|
||||
break;
|
||||
case 'ID':
|
||||
$orderby = "$wpdb->posts.ID";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user