[wp-trac] [WordPress Trac] #44326: Add relation parameter to REST API /wp/v2/posts endpoint
WordPress Trac
noreply at wordpress.org
Tue Jun 18 18:51:59 UTC 2019
#44326: Add relation parameter to REST API /wp/v2/posts endpoint
------------------------------------------+-----------------------------
Reporter: earnjam | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-unit-tests needs-refresh | Focuses: rest-api
------------------------------------------+-----------------------------
Changes (by TimothyBlynJacobs):
* keywords: has-patch has-unit-tests => has-unit-tests needs-refresh
* milestone: Awaiting Review => Future Release
Comment:
This looks good to me!
I think we just need a different query parameter name that is a bit more
specific to the term query. Perhaps `terms_relation`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44326#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list