Make WordPress Core


Ignore:
Timestamp:
11/09/2020 03:13:56 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Docblock corrections relating to WP_Post objects.

See #51373, #50768

File:
1 edited

Legend:

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

    r48585 r49544  
    142142 * @global wpdb $wpdb WordPress database abstraction object.
    143143 *
    144  * @param int|array $post_id Either a single Post ID or an array of Post IDs
    145  * @return int|array Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs
     144 * @param int|int[] $post_id Either a single Post ID or an array of Post IDs
     145 * @return int|int[] Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs
    146146 */
    147147function get_pending_comments_num( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.