Skip to content

Commit

Permalink
Fix menu_order ordering. Props torfason. fixes #6731 for 2.5
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7684 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
ryanboren committed Apr 15, 2008
1 parent bb66b9f commit 88e48b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wp-includes/query.php
Expand Up @@ -1250,6 +1250,7 @@ function &get_posts() {
$orderby = $orderby_array[$i];
switch ($orderby) {
case 'menu_order':
break;
case 'ID':
$orderby = "$wpdb->posts.ID";
break;
Expand Down

0 comments on commit 88e48b7

Please sign in to comment.