Make WordPress Core


Ignore:
Timestamp:
09/13/2016 01:09:52 PM (9 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-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.
Note: See TracChangeset for help on using the changeset viewer.