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

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


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

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests 2nd-
               opinion
 * type:  defect (bug) => enhancement


Comment:

 Replying to [comment:17 jnylen0]:
 > This is not an enhancement - this is a regression from previously
 established behavior that at least 3 different people have asked about.

 @jnylen0 I disagree.  This is an enhancement, and I am not comfortable
 with trying to squeeze this into 4.7.
 What about adding a filter for the `orderby` enum params so sites can
 expand the supported orderby values for 4.7, and properly fixing in 4.8?

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


More information about the wp-trac mailing list