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

Conversation

@rachelbaker
Copy link
Member

Fixes #760

Only check if a post_type is being changed if the type parameter is set.
Fallback to the post_type of the post being updated when doing permission checks.
Includes unit test.

@rachelbaker rachelbaker added this to the 2.0 milestone Jan 3, 2015
@rachelbaker
Copy link
Member Author

@WP-API/amigos #reviewmerge

danielbachhuber added a commit that referenced this pull request Jan 4, 2015
Do not require type parameter to be set when updating a Post
@danielbachhuber danielbachhuber merged commit 049af79 into develop Jan 4, 2015
@danielbachhuber danielbachhuber deleted the fix-760 branch January 4, 2015 19:14
danielbachhuber added a commit that referenced this pull request Jan 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting type should not be required when updating a Post

3 participants