Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@rachelbaker
Copy link
Member

Matches the logic currently in WP_REST_Posts_Controller::get_item() and WP_REST_Posts_Controller::delete_item()

Fixes #1258

@rachelbaker
Copy link
Member Author

@WP-API/amigos #reviewmerge

@rmccue rmccue added this to the 2.0 Beta 5 milestone Aug 25, 2015
@rmccue rmccue added the Review label Aug 25, 2015
@rmccue rmccue self-assigned this Aug 25, 2015
@rmccue rmccue added the Bug label Aug 25, 2015
rmccue added a commit that referenced this pull request Aug 25, 2015
WP_REST_Posts_Controller::update_item() should check the ID correlates with proper type
@rmccue rmccue merged commit 818eec1 into develop Aug 25, 2015
@rmccue rmccue deleted the fix-1258 branch August 25, 2015 01:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants