Make WordPress Core


Ignore:
Timestamp:
09/13/2016 01:09:52 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for domain and path arguments in WP_Network_Query::__construct().

See #32504.

File:
1 edited

Legend:

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

    r38336 r38595  
    135135     *     @type array        $network__in       Array of network IDs to include affiliated sites for. Default empty.
    136136     *     @type array        $network__not_in   Array of network IDs to exclude affiliated sites for. Default empty.
    137      *     @type string       $domain            Limit results to those affiliated with a given domain.
    138      *                                           Default empty.
     137     *     @type string       $domain            Limit results to those affiliated with a given domain. Default empty.
    139138     *     @type array        $domain__in        Array of domains to include affiliated sites for. Default empty.
    140139     *     @type array        $domain__not_in    Array of domains to exclude affiliated sites for. Default empty.
    141      *     @type string       $path              Limit results to those affiliated with a given path.
    142      *                                           Default empty.
     140     *     @type string       $path              Limit results to those affiliated with a given path. Default empty.
    143141     *     @type array        $path__in          Array of paths to include affiliated sites for. Default empty.
    144142     *     @type array        $path__not_in      Array of paths to exclude affiliated sites for. Default empty.
Note: See TracChangeset for help on using the changeset viewer.