Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
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

@michaelperrin

Description

@michaelperrin

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.

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