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/ms-site.php

    r49672 r49693  
    438438 *     @type int[]        $network__not_in   Array of network IDs to exclude affiliated sites for. Default empty.
    439439 *     @type string       $domain            Limit results to those affiliated with a given domain. Default empty.
    440  *     @type array        $domain__in        Array of domains to include affiliated sites for. Default empty.
    441  *     @type array        $domain__not_in    Array of domains to exclude affiliated sites for. Default empty.
     440 *     @type string[]     $domain__in        Array of domains to include affiliated sites for. Default empty.
     441 *     @type string[]     $domain__not_in    Array of domains to exclude affiliated sites for. Default empty.
    442442 *     @type string       $path              Limit results to those affiliated with a given path. Default empty.
    443  *     @type array        $path__in          Array of paths to include affiliated sites for. Default empty.
    444  *     @type array        $path__not_in      Array of paths to exclude affiliated sites for. Default empty.
     443 *     @type string[]     $path__in          Array of paths to include affiliated sites for. Default empty.
     444 *     @type string[]     $path__not_in      Array of paths to exclude affiliated sites for. Default empty.
    445445 *     @type int          $public            Limit results to public sites. Accepts '1' or '0'. Default empty.
    446446 *     @type int          $archived          Limit results to archived sites. Accepts '1' or '0'. Default empty.
     
    449449 *     @type int          $deleted           Limit results to deleted sites. Accepts '1' or '0'. Default empty.
    450450 *     @type int          $lang_id           Limit results to a language ID. Default empty.
    451  *     @type array        $lang__in          Array of language IDs to include affiliated sites for. Default empty.
    452  *     @type array        $lang__not_in      Array of language IDs to exclude affiliated sites for. Default empty.
     451 *     @type string[]     $lang__in          Array of language IDs to include affiliated sites for. Default empty.
     452 *     @type string[]     $lang__not_in      Array of language IDs to exclude affiliated sites for. Default empty.
    453453 *     @type string       $search            Search term(s) to retrieve matching sites for. Default empty.
    454  *     @type array        $search_columns    Array of column names to be searched. Accepts 'domain' and 'path'.
     454 *     @type string[]     $search_columns    Array of column names to be searched. Accepts 'domain' and 'path'.
    455455 *                                           Default empty array.
    456456 *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default true.
Note: See TracChangeset for help on using the changeset viewer.