[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 21:34:15 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:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by mgibbs189):

 * keywords:  needs-patch => has-patch


Comment:

 @boonebgorges The new patch accounts for the proper `order` when using
 `post__in`, and the order/orderby code itself has been tweaked a bit for
 clarity.

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


More information about the wp-trac mailing list