WordPress.org

Make WordPress Core

Changeset 32500


Ignore:
Timestamp:
05/13/2015 02:53:03 AM (5 years ago)
Author:
DrewAPicture
Message:

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

Fixes #31747.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r32499 r32500  
    22582258 *
    22592259 * @since 1.5.0
    2260  * @param array $commentdata Contains information on the comment.
    2261  * @return int|bool The ID of the comment on success, false on failure.
     2260 *
     2261 * @see wp_insert_comment()
     2262 *
     2263 * @param array $commentdata Contains information on the comment. See wp_insert_comment()
     2264 *                           for information on accepted arguments.
     2265 * @return int|false The ID of the comment on success, false on failure.
    22622266 */
    22632267function wp_new_comment( $commentdata ) {
Note: See TracChangeset for help on using the changeset viewer.