[wp-trac] [WordPress Trac] #38034: post__in orderby not working when passed in an array to orderby

WordPress Trac noreply at wordpress.org
Sat Mar 11 03:07:29 UTC 2017


#38034: post__in orderby not working when passed in an array to orderby
-------------------------------+------------------------------
 Reporter:  kelvink            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  4.6
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by boonebgorges):

 In [changeset:"40278"]:
 {{{
 #!CommitTicketReference repository="" revision="40278"
 Tests: Use `assertSame()` for `WP_Query` 'orderby' tests.

 `assertEqualSets()` ignores order, so isn't much good for testing
 'orderby'.

 See #38034.
 }}}

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


More information about the wp-trac mailing list