WordPress.org

Make WordPress Core

Changeset 41795


Ignore:
Timestamp:
10/09/2017 02:25:52 PM (9 months ago)
Author:
johnbillion
Message:

Networks and Sites: Correct the documentation for the update_site_cache parameter of WP_Site_Query.

Props welcher, sudar
Fixes #42155

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r41700 r41795  
    137137     *     @type array        $search_columns    Array of column names to be searched. Accepts 'domain' and 'path'.
    138138     *                                           Default empty array.
    139      *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default false.
     139     *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default true.
    140140     * }
    141141     */
  • trunk/src/wp-includes/ms-blogs.php

    r41743 r41795  
    639639 *     @type array        $search_columns    Array of column names to be searched. Accepts 'domain' and 'path'.
    640640 *                                           Default empty array.
    641  *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default false.
     641 *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default true.
    642642 * }
    643643 * @return array|int List of sites, or number of sites when 'count' is passed as a query var.
Note: See TracChangeset for help on using the changeset viewer.