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

WordPress Trac noreply at wordpress.org
Fri Jan 4 16:09:16 UTC 2019


#38034: post__in orderby not working when passed in an array to orderby
--------------------------+-----------------------------
 Reporter:  kelvink       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:  has-patch => needs-patch


Comment:

 @mgibbs189 Yes, I think we could revisit, but [comment:8 my comment above
 about 'order'] still holds. [attachment:"38034.2.diff"] updates the patch
 for current trunk, and adds another test that demonstrates the failure.
 Can someone work on a patch that will account for the proper default value
 of 'order' when 'orderby=post__in'?

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


More information about the wp-trac mailing list