Thanks to visit codestin.com
Credit goes to github.com

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

Conversation

@rachelbaker
Copy link
Member

Discovered while working on #1880:
WP_REST_Comments_Controller->prepare_item_for_database() can return a WP_Error, but we currently assume it won't. This can result in a Fatal error when trying to use the WP_Error object as an array.

@rachelbaker
Copy link
Member Author

@WP-API/amigos #reviewmerge

@danielbachhuber
Copy link
Member

Can we add a test for the case in which it returns a fatal error?

@rachelbaker
Copy link
Member Author

Replaced by #1917

@danielbachhuber danielbachhuber removed this from the 2.0 Beta 10 milestone Jan 11, 2016
@danielbachhuber danielbachhuber deleted the fix-fatal-comment-dbprepare branch January 11, 2016 14:31
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