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

Fixes #31747.

Built from https://develop.svn.wordpress.org/trunk@32500


git-svn-id: http://core.svn.wordpress.org/trunk@32470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-05-13 02:54:26 +00:00
parent 4769bd2a4f
commit 2aa620b76a
2 changed files with 7 additions and 3 deletions

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;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32499';
$wp_version = '4.3-alpha-32500';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.