Changeset 41912
- Timestamp:
- 10/18/2017 05:38:35 PM (7 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-site-query.php
r41795 r41912 212 212 * 213 213 * @param string|array $query Array or URL query string of parameters. 214 * @return array|int List of WP_Site objects, or number of sites when 'count' is passed as a query var. 214 * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids', 215 * or the number of sites when 'count' is passed as a query var. 215 216 */ 216 217 public function query( $query ) { … … 225 226 * @since 4.6.0 226 227 * 227 * @return array|int List of WP_Site objects, or number of sites when 'count' is passed as a query var. 228 * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids', 229 * or the number of sites when 'count' is passed as a query var. 228 230 */ 229 231 public function get_sites() { -
trunk/src/wp-includes/ms-blogs.php
r41884 r41912 637 637 * @type bool $update_site_cache Whether to prime the cache for found sites. Default true. 638 638 * } 639 * @return array|int List of sites, or number of sites when 'count' is passed as a query var. 639 * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids', 640 * or the number of sites when 'count' is passed as a query var. 640 641 */ 641 642 function get_sites( $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.