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-site-query.php

    r49672 r49693  
    139139     *     @type int[]        $network__not_in        Array of network IDs to exclude affiliated sites for. Default empty.
    140140     *     @type string       $domain                 Limit results to those affiliated with a given domain. Default empty.
    141      *     @type array        $domain__in             Array of domains to include affiliated sites for. Default empty.
    142      *     @type array        $domain__not_in         Array of domains to exclude affiliated sites for. Default empty.
     141     *     @type string[]     $domain__in             Array of domains to include affiliated sites for. Default empty.
     142     *     @type string[]     $domain__not_in         Array of domains to exclude affiliated sites for. Default empty.
    143143     *     @type string       $path                   Limit results to those affiliated with a given path. Default empty.
    144      *     @type array        $path__in               Array of paths to include affiliated sites for. Default empty.
    145      *     @type array        $path__not_in           Array of paths to exclude affiliated sites for. Default empty.
     144     *     @type string[]     $path__in               Array of paths to include affiliated sites for. Default empty.
     145     *     @type string[]     $path__not_in           Array of paths to exclude affiliated sites for. Default empty.
    146146     *     @type int          $public                 Limit results to public sites. Accepts '1' or '0'. Default empty.
    147147     *     @type int          $archived               Limit results to archived sites. Accepts '1' or '0'. Default empty.
     
    150150     *     @type int          $deleted                Limit results to deleted sites. Accepts '1' or '0'. Default empty.
    151151     *     @type int          $lang_id                Limit results to a language ID. Default empty.
    152      *     @type array        $lang__in               Array of language IDs to include affiliated sites for. Default empty.
    153      *     @type array        $lang__not_in           Array of language IDs to exclude affiliated sites for. Default empty.
     152     *     @type string[]     $lang__in               Array of language IDs to include affiliated sites for. Default empty.
     153     *     @type string[]     $lang__not_in           Array of language IDs to exclude affiliated sites for. Default empty.
    154154     *     @type string       $search                 Search term(s) to retrieve matching sites for. Default empty.
    155155     *     @type array        $search_columns         Array of column names to be searched. Accepts 'domain' and 'path'.
Note: See TracChangeset for help on using the changeset viewer.