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

@danielbachhuber

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions