[wp-trac] [WordPress Trac] #28589: Warning on Usage of WP_Query() with Orderby Array

WordPress Trac noreply at wordpress.org
Mon Sep 1 09:14:02 UTC 2014


#28589: Warning on Usage of WP_Query() with Orderby Array
--------------------------+----------------------
 Reporter:  behrang       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  3.9.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:3 steffenborup]:
 > The codex does indicate that it is possible to pass an array to
 'orderby', though

 This was added in 4.0, see [29027] and #17065. Looks like you're using
 3.9.2.

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


More information about the wp-trac mailing list