Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Getting terms by post id doesn't work #1383

Copy link
Copy link

Description

@michaelperrin
Issue body actions

When calling, wp/v2/posts/1 (for instance), the following links are returned in the JSON response:

"_links": {
    "http://v2.wp-api.org/term": [
        {
            "embeddable": true, 
            "href": "http://.../wp/v2/terms/category?post=1", 
            "taxonomy": "category"
        }, 
       // ...
    ]
}

But when calling wp/v2/terms/category?post=1, all the available categories are returned instead of just the ones of post of id 1 in this example.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.