[wp-trac] [WordPress Trac] #15388: get_posts does not order by menu_order
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 25 00:12:52 UTC 2011
#15388: get_posts does not order by menu_order
------------------------------------------+-----------------------
Reporter: ggus | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Query | Version: 3.0.4
Severity: normal | Resolution:
Keywords: menu_order get_posts orderby |
------------------------------------------+-----------------------
Comment (by F J Kaiser):
Replying to [comment:7 SergeyBiryukov]:
> Shouldn't it be `orderby` instead of `order_by`?
Absolutely right. I wasn't aware, that there is a difference. Using for
ex. get_posts needs ''order_by''. Pretty unexpected. It took quite some
hours without finding any answer. Thanks for your comment. Too bad that
this is not consistend throught all functions...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15388#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list