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

WordPress Trac noreply at wordpress.org
Sat Jan 5 13:16:30 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:
--------------------------+-----------------------------

Comment (by mgibbs189):

 @boonebgorges Yes, I like how you moved everything into `parse_orderby()`,
 it flows better that way. Thanks for all your help and quick responses
 thus far.

 I do wish that
 [https://gist.github.com/mgibbs189/8ac315debafabca6b4fd3d3bf27d717b this
 code]  received a little more TLC, but I understand the hesitation to
 refactor working code.

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


More information about the wp-trac mailing list