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:
parent
4769bd2a4f
commit
2aa620b76a
|
@ -2257,8 +2257,12 @@ function wp_throttle_comment_flood($block, $time_lastcomment, $time_newcomment)
|
||||||
* See {@link https://core.trac.wordpress.org/ticket/9235}
|
* See {@link https://core.trac.wordpress.org/ticket/9235}
|
||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @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 ) {
|
function wp_new_comment( $commentdata ) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue