WordPress.org

Make WordPress Core

Changeset 38103


Ignore:
Timestamp:
07/19/2016 01:14:40 PM (23 months ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify the fields argument description in WP_Site_Query::__construct().

Props ramiy.
See #35791.

File:
1 edited

Legend:

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

    r38085 r38103  
    111111     *     @type array        $date_query        Date query clauses to limit sites by. See WP_Date_Query.
    112112     *                                           Default null.
    113      *     @type string       $fields            Site fields to return. Accepts 'ids' for site IDs only or empty
    114      *                                           for all fields. Default empty.
     113     *     @type string       $fields            Site fields to return. Accepts 'ids' (returns an array of site IDs)
     114     *                                           or empty (returns an array of complete site objects). Default empty.
    115115     *     @type int          $ID                A site ID to only return that site. Default empty.
    116116     *     @type int          $number            Maximum number of sites to retrieve. Default null (no limit).
Note: See TracChangeset for help on using the changeset viewer.