WordPress.org

Make WordPress Core

Changeset 41331


Ignore:
Timestamp:
09/04/2017 08:15:32 AM (4 years ago)
Author:
ocean90
Message:

Multisite: Clarify return type of get_sites() when 'count' is passed as a query var.

Fixes #41789.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r41242 r41331  
    631631 *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default false.
    632632 * }
    633  * @return array List of sites.
     633 * @return array|int List of sites, or number of sites when 'count' is passed as a query var.
    634634 */
    635635function get_sites( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.