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

    r49672 r49693  
    105105     *     @type string       $order                How to order retrieved networks. Accepts 'ASC', 'DESC'. Default 'ASC'.
    106106     *     @type string       $domain               Limit results to those affiliated with a given domain. Default empty.
    107      *     @type array        $domain__in           Array of domains to include affiliated networks for. Default empty.
    108      *     @type array        $domain__not_in       Array of domains to exclude affiliated networks for. Default empty.
     107     *     @type string[]     $domain__in           Array of domains to include affiliated networks for. Default empty.
     108     *     @type string[]     $domain__not_in       Array of domains to exclude affiliated networks for. Default empty.
    109109     *     @type string       $path                 Limit results to those affiliated with a given path. Default empty.
    110      *     @type array        $path__in             Array of paths to include affiliated networks for. Default empty.
    111      *     @type array        $path__not_in         Array of paths to exclude affiliated networks for. Default empty.
     110     *     @type string[]     $path__in             Array of paths to include affiliated networks for. Default empty.
     111     *     @type string[]     $path__not_in         Array of paths to exclude affiliated networks for. Default empty.
    112112     *     @type string       $search               Search term(s) to retrieve matching networks for. Default empty.
    113113     *     @type bool         $update_network_cache Whether to prime the cache for found networks. Default true.
Note: See TracChangeset for help on using the changeset viewer.