Make WordPress Core

Changeset 31682


Ignore:
Timestamp:
03/09/2015 02:17:30 AM (10 years ago)
Author:
wonderboymusic
Message:

Declare multisite as a field for WP_Object_Cache.

See #30799.

File:
1 edited

Legend:

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

    r31679 r31682  
    104104 * @param string $group Where the cache contents are grouped
    105105 * @param bool $force Whether to force an update of the local cache from the persistent cache (default is false)
    106  * @param &bool $found Whether key was found in the cache. Disambiguates a return of false, a storable value.
     106 * @param bool &$found Whether key was found in the cache. Disambiguates a return of false, a storable value.
    107107 * @return bool|mixed False on failure to retrieve contents or the cache
    108108 *      contents on success
     
    305305     */
    306306    private $blog_prefix;
     307
     308    /**
     309     * Holds the value of `is_multisite()`
     310     *
     311     * @var bool
     312     * @access private
     313     * @since 3.5.0
     314     */
     315    private $multisite;
    307316
    308317    /**
Note: See TracChangeset for help on using the changeset viewer.