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

Conversation

@danielbachhuber
Copy link
Member

Because the internals require post when creating a comment, explicitly
marking it as required will provide a more helpful error message when
the argument isn't provided in the request.

Discovered in #1453

Because the internals require `post` when creating a comment, explicitly
marking it as required will provide a more helpful error message when
the argument isn't provided in the request.
@danielbachhuber danielbachhuber added this to the 2.0 Beta 9 milestone Dec 8, 2015
@rachelbaker
Copy link
Member

@danielbachhuber We are actually unwinding Comments and their dependency on Posts in core. You can create Comments that aren't attached to Posts now (comment_post_ID is not required in wp_insert_comment()).

@danielbachhuber
Copy link
Member Author

@rachelbaker Ah, makes sense. I've created a separate issue to eventually fix that.

@danielbachhuber danielbachhuber deleted the 1453-require-post-comment branch December 8, 2015 15:30
@danielbachhuber danielbachhuber removed this from the 2.0 Beta 9 milestone Dec 8, 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.

3 participants