[wp-trac] [WordPress Trac] #34059: Abstract functionality from wp-comments-post.php
WordPress Trac
noreply at wordpress.org
Mon Sep 28 18:55:55 UTC 2015
#34059: Abstract functionality from wp-comments-post.php
----------------------------------------+------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.4
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------
Changes (by johnbillion):
* keywords: => has-patch needs-unit-tests
Comment:
[attachment:34059.diff] introduces `wp_handle_comment_post()` which
accepts an unslashed array of comment data and returns a `WP_Comment` or
`WP_Error` object.
Unit tests are in progress.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34059#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list