Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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 - #1497

#1497
Merged
rmccue merged 2 commits into
developWP-API/WP-API:developfrom
fix-1258WP-API/WP-API:fix-1258Copy head branch name to clipboard
Aug 25, 2015
Merged

WP_REST_Posts_Controller::update_item() should check the ID correlates with proper type#1497
rmccue merged 2 commits into
developWP-API/WP-API:developfrom
fix-1258WP-API/WP-API:fix-1258Copy head branch name to clipboard

Conversation

@rachelbaker

Copy link
Copy Markdown
Member

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

Fixes #1258

@rachelbaker

Copy link
Copy Markdown
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.