[wp-trac] [WordPress Trac] #29424: Query argument 'orderby' makes duplicated parameters possible; does not support some available columns (was: Query argument 'orderby' makes duplicated parameters possible)

WordPress Trac noreply at wordpress.org
Sun Jan 4 14:10:13 UTC 2015


#29424: Query argument 'orderby' makes duplicated parameters possible; does not
support some available columns
------------------------------------------+-----------------------------
 Reporter:  ChriCo                        |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Query                         |     Version:  2.5
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:  needs-patch needs-testing needs-unit-tests => needs-patch
     needs-unit-tests
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => Future Release


Comment:

 +1 to johnbillion's conclusions regarding duplicate parameters.

 > Regarding the missing fields available in the orderby parameter
 ("date_gmt", "post_status", "modifed_gmt", "content_filtered",
 "mime_type", "post_type"), this is not a change in 4.0, so I'm punting
 this ticket while I look to see if this has already been reported in
 another ticket.

 I've done some searching and can't find another ticket. We can add these
 columns if we get a patch + unit tests.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29424#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list