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:
ryan 2008-04-15 01:39:33 +00:00
parent cab4206406
commit c92c2be2af

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;