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

WordPress Trac noreply at wordpress.org
Tue Nov 29 15:04:07 UTC 2016


#38693: REST API: Audit `orderby` params and add any others
--------------------------+------------------------------
 Reporter:  jnylen0       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by ChopinBach):

 So add in `none`, `modified`, `parent`, and `rand`, `author`? I don't know
 how to test for random sorting but I will add test cases for the others.

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


More information about the wp-trac mailing list