[wp-trac] [WordPress Trac] #38985: REST API: Some orderby parameters are broken

WordPress Trac noreply at wordpress.org
Thu Dec 1 16:26:16 UTC 2016


#38985: REST API: Some orderby parameters are broken
-------------------------------------------------+-------------------------
 Reporter:  jnylen0                              |       Owner:  jnylen0
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests needs-refresh has-    |     Focuses:
  patch                                          |  performance
-------------------------------------------------+-------------------------
Changes (by rachelbaker):

 * keywords:  has-patch has-unit-tests => has-unit-tests needs-refresh has-
     patch
 * owner:   => jnylen0
 * focuses:   => performance
 * status:  new => assigned


Comment:

 We are in a string freeze for 4.7 and cannot introduce a new error
 message.

 I see two options here:

 1. We ignore the `include` `orderby` value if the request does not include
 the related `include` parameter.
 2. We remove support for the `'orderby' => 'include'` for 4.7.

 I would like to do Option #1 if possible, but we are running out of time
 here folks.

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


More information about the wp-trac mailing list