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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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