[wp-trac] [WordPress Trac] #39055: REST API: order is ignored when orderby is set to include

WordPress Trac noreply at wordpress.org
Sun Feb 12 18:06:34 UTC 2017


#39055: REST API: order is ignored when orderby is set to include
-------------------------------------------------+-------------------------
 Reporter:  joshlevinson                         |       Owner:  jnylen0
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.8
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by jnylen0):

 In [changeset:"40056"]:
 {{{
 #!CommitTicketReference repository="" revision="40056"
 WP_Query: Add tests for the combination of `orderby=post__in` and `order`.

 This commit adds test cases for the interaction (or more accurately, lack
 of
 interaction) between `orderby=post__in` and the `order` parameter.

 Props fibonaccina.
 See #39055.
 }}}

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


More information about the wp-trac mailing list