Update the DocBlock for wp_new_comment() to reference the wp_insert_comment() documentation for argument information.

Fixes #31747.


git-svn-id: https://develop.svn.wordpress.org/trunk@32500 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-05-13 02:53:03 +00:00
parent 6855376930
commit f927722bc0

View File

@ -2257,8 +2257,12 @@ function wp_throttle_comment_flood($block, $time_lastcomment, $time_newcomment)
* See {@link https://core.trac.wordpress.org/ticket/9235}
*
* @since 1.5.0
* @param array $commentdata Contains information on the comment.
* @return int|bool The ID of the comment on success, false on failure.
*
* @see wp_insert_comment()
*
* @param array $commentdata Contains information on the comment. See wp_insert_comment()
* for information on accepted arguments.
* @return int|false The ID of the comment on success, false on failure.
*/
function wp_new_comment( $commentdata ) {
global $wpdb;