[wp-trac] [WordPress Trac] #6731: edit-pages.php does not correctly
order pages by menu_order
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 15 00:25:49 GMT 2008
#6731: edit-pages.php does not correctly order pages by menu_order
----------------------------+-----------------------------------------------
Reporter: torfason | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Keywords: edit-pages.php query.php
----------------------------+-----------------------------------------------
In version 2.5, as well as in the most recent checkout, the list of pages
generated by edit-pages.php does not correctly order pages by the
menu_order column. The reason is the lack of a break statement in
query.php, which causes the menu_order case to fall through to the next
case and the $orderby variable gets set to $wpdb->posts.ID.
A patch detailing an insertion of this break statement is attached, which
seems to fix the problem.
--
Ticket URL: <http://trac.wordpress.org/ticket/6731>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list