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.

WP_REST_Posts_Controller::update_item() should check the ID correlates with proper type #1258

Description

@danielbachhuber

Discovered with #1257

Really, our get check for write operations use some form of get_item() so we don't have this duplicated logic everywhere.

Related #1218

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions