[wp-trac] [WordPress Trac] #14368: make the 'orderby' argument in get_posts() accept all "post" fields
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 28 19:07:19 UTC 2012
#14368: make the 'orderby' argument in get_posts() accept all "post" fields
-------------------------+-----------------------------
Reporter: wjm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by nacin):
Seems like the big one here is "name", right?
Not sure comment_status or ping_status is all that useful — they only
store two values, and are also often overridden by filters (including in
core).
mime_type is interesting. post_type is a bit weird from the semantic
perspective that different types aren't exactly meant to be combined into
one feed, and sorting them via the raw name is weird. Same goes for
status.
date_gmt and modified_gmt seem unnecessary, given date and modified.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14368#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list