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

WordPress Trac noreply at wordpress.org
Fri May 5 21:11:03 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  |     Focuses:
--------------------------------------+-----------------------
Changes (by jnylen0):

 * owner:   => jnylen0
 * status:  new => accepted


Comment:

 Unless there are any objections, I'll plan to land these additional
 parameters in the next few days.  [attachment:38693.6.diff] is basically
 ready, but we can improve/simplify the tests considerably after #39079.

 Replying to [comment:26 openhatch]:
 > Has this separate ticket been created?

 comment:5 looks pretty good as a code sample, so I'm not sure we need to
 do anything else regarding a filter, unless that doesn't work well for
 some reason.

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


More information about the wp-trac mailing list