[wp-trac] [WordPress Trac] #38579: REST API: Allow listing posts that match any of a set of slugs rather than just one
WordPress Trac
noreply at wordpress.org
Wed Nov 2 07:09:55 UTC 2016
#38579: REST API: Allow listing posts that match any of a set of slugs rather than
just one
--------------------------------------+------------------------------
Reporter: jnylen0 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by rmccue):
I think allowing multiple values for the field is fine; the singular
`slug` keeps it consistent with the field in the resource, and I don't see
any huge issues with allowing that to be a multi-value. We already do this
with `author` and `parent`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38579#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list