[wp-trac] [WordPress Trac] #38693: REST API: Audit `orderby` params and add any others
WordPress Trac
noreply at wordpress.org
Mon Nov 28 13:34:51 UTC 2016
#38693: REST API: Audit `orderby` params and add any others
-------------------------+------------------------------
Reporter: jnylen0 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by adamsilverstein):
As discussed in github, I think the useful mising 'orderby' parameters
are: 'none', 'modified', 'parent', 'rand' and 'meta_value_num'. In
addition, it might be helpful to introduce a filter so developers could
alter which fields were acceptable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38693#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list