Make WordPress Core


Ignore:
Timestamp:
12/07/2021 12:18:50 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various inline documentation corrections and improvements.

See #53399

File:
1 edited

Legend:

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

    r52226 r52332  
    232232     *                                                      Default empty.
    233233     *     @type int             $post_author               Post author ID to limit results by. Default empty.
    234      *     @type string|array    $post_status               Post status or array of post statuses to retrieve
     234     *     @type string|string[] $post_status               Post status or array of post statuses to retrieve
    235235     *                                                      affiliated comments for. Pass 'any' to match any value.
    236236     *                                                      Default empty.
    237      *     @type string|array    $post_type                 Post type or array of post types to retrieve affiliated
     237     *     @type string|string[] $post_type                 Post type or array of post types to retrieve affiliated
    238238     *                                                      comments for. Pass 'any' to match any value. Default empty.
    239239     *     @type string          $post_name                 Post name to retrieve affiliated comments for.
     
    247247     *                                                      'approve' (`comment_status=1`), 'all', or a custom
    248248     *                                                      comment status. Default 'all'.
    249      *     @type string|array    $type                      Include comments of a given type, or array of types.
     249     *     @type string|string[] $type                      Include comments of a given type, or array of types.
    250250     *                                                      Accepts 'comment', 'pings' (includes 'pingback' and
    251251     *                                                      'trackback'), or any custom type string. Default empty.
Note: See TracChangeset for help on using the changeset viewer.