[wp-trac] [WordPress Trac] #38693: REST API: Audit `orderby` params and add any others

WordPress Trac noreply at wordpress.org
Wed May 10 18:46:47 UTC 2017


#38693: REST API: Audit `orderby` params and add any others
---------------------------------------------+-----------------------
 Reporter:  jnylen0                          |       Owner:  jnylen0
     Type:  enhancement                      |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.8
Component:  REST API                         |     Version:  4.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by jnylen0):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 In [attachment:38693.7.diff]:

 - Refresh against latest trunk
 - Explicitly test `ORDER BY` clauses used by new `orderby=` methods
 - Remove `orderby=none` (see comment:15; let's revisit this later if
 needed)
 - Update `wp-api.js` test fixtures

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


More information about the wp-trac mailing list