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.

Authentication not getting passed to embedded envelope requests #837

@rachelbaker

Description

@rachelbaker

To reproduce:

  1. Send an authenticated request to wp-json/wp/posts/{ID}?_envelope&_embed
  2. Note the permission error in the embedded author response.
"_embedded": {
            "author": [
                [
                    {
                        "code": "json_user_cannot_list",
                        "message": "Sorry, you are not allowed to view this user.",
                        "data": {
                            "status": 403
                        }
                    }
                ]
            ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions