WordPress.org

Make WordPress Core

Changeset 38595


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

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

See #32504.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

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

    r38336 r38595  
    119119     *                                              an empty array, or 'none' to disable `ORDER BY` clause. Default 'id'.
    120120     *     @type string       $order                How to order retrieved networks. Accepts 'ASC', 'DESC'. Default 'ASC'.
    121      *     @type string       $domain               Limit results to those affiliated with a given network ID.
    122      *                                              Default current network ID.
     121     *     @type string       $domain               Limit results to those affiliated with a given domain. Default empty.
    123122     *     @type array        $domain__in           Array of domains to include affiliated networks for. Default empty.
    124123     *     @type array        $domain__not_in       Array of domains to exclude affiliated networks for. Default empty.
    125      *     @type string       $path                 Limit results to those affiliated with a given network ID.
    126      *                                              Default current network ID.
     124     *     @type string       $path                 Limit results to those affiliated with a given path. Default empty.
    127125     *     @type array        $path__in             Array of paths to include affiliated networks for. Default empty.
    128126     *     @type array        $path__not_in         Array of paths to exclude affiliated networks for. Default empty.
  • 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.
  • trunk/src/wp-includes/ms-blogs.php

    r38457 r38595  
    584584 *     @type array        $network__in       Array of network IDs to include affiliated sites for. Default empty.
    585585 *     @type array        $network__not_in   Array of network IDs to exclude affiliated sites for. Default empty.
    586  *     @type string       $domain            Limit results to those affiliated with a given domain.
    587  *                                           Default empty.
     586 *     @type string       $domain            Limit results to those affiliated with a given domain. Default empty.
    588587 *     @type array        $domain__in        Array of domains to include affiliated sites for. Default empty.
    589588 *     @type array        $domain__not_in    Array of domains to exclude affiliated sites for. Default empty.
    590  *     @type string       $path              Limit results to those affiliated with a given path.
    591  *                                           Default empty.
     589 *     @type string       $path              Limit results to those affiliated with a given path. Default empty.
    592590 *     @type array        $path__in          Array of paths to include affiliated sites for. Default empty.
    593591 *     @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.