Make WordPress Core


Ignore:
Timestamp:
11/24/2020 09:25:46 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Upgrade more parameters in docblocks to used typed array notation.

See #51800, #41756

File:
1 edited

Legend:

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

    r49672 r49693  
    701701     *                                                 separated IDs will NOT work.
    702702     *     @type string       $post_mime_type          The mime type of the post. Used for 'attachment' post_type.
    703      *     @type array        $post_name__in           An array of post slugs that results must match.
     703     *     @type string[]     $post_name__in           An array of post slugs that results must match.
    704704     *     @type int          $post_parent             Page ID to retrieve child pages for. Use 0 to only retrieve
    705705     *                                                 top-level pages.
     
    725725     *     @type int[]        $tag__not_in             An array of tag IDs (NOT in).
    726726     *     @type int          $tag_id                  Tag id or comma-separated list of IDs.
    727      *     @type array        $tag_slug__and           An array of tag slugs (AND in).
    728      *     @type array        $tag_slug__in            An array of tag slugs (OR in). unless 'ignore_sticky_posts' is
     727     *     @type string[]     $tag_slug__and           An array of tag slugs (AND in).
     728     *     @type string[]     $tag_slug__in            An array of tag slugs (OR in). unless 'ignore_sticky_posts' is
    729729     *                                                 true. Note: a string of comma-separated IDs will NOT work.
    730730     *     @type array        $tax_query               An associative array of WP_Tax_Query arguments.
Note: See TracChangeset for help on using the changeset viewer.