From a64a8ea7260048be11c9cf84fbfc48fdb6c90562 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 Jul 2016 13:14:40 +0000 Subject: [PATCH] Docs: Clarify the `fields` argument description in `WP_Site_Query::__construct()`. Props ramiy. See #35791. git-svn-id: https://develop.svn.wordpress.org/trunk@38103 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-site-query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-site-query.php b/src/wp-includes/class-wp-site-query.php index b8226a966b..cbffd66493 100644 --- a/src/wp-includes/class-wp-site-query.php +++ b/src/wp-includes/class-wp-site-query.php @@ -110,8 +110,8 @@ class WP_Site_Query { * Default false. * @type array $date_query Date query clauses to limit sites by. See WP_Date_Query. * Default null. - * @type string $fields Site fields to return. Accepts 'ids' for site IDs only or empty - * for all fields. Default empty. + * @type string $fields Site fields to return. Accepts 'ids' (returns an array of site IDs) + * or empty (returns an array of complete site objects). Default empty. * @type int $ID A site ID to only return that site. Default empty. * @type int $number Maximum number of sites to retrieve. Default null (no limit). * @type int $offset Number of sites to offset the query. Used to build LIMIT clause.