Fix menu_order ordering. Props torfason. fixes #6731 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@7685 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-04-15 01:39:33 +00:00
parent a58816e2ab
commit b3dbfd3b48
1 changed files with 1 additions and 0 deletions

View File

@ -1250,6 +1250,7 @@ class WP_Query {
$orderby = $orderby_array[$i];
switch ($orderby) {
case 'menu_order':
break;
case 'ID':
$orderby = "$wpdb->posts.ID";
break;