diff options
author | Scott Taylor <wonderboymusic@git.wordpress.org> | 2015-03-09 02:17:30 +0000 |
---|---|---|
committer | Scott Taylor <wonderboymusic@git.wordpress.org> | 2015-03-09 02:17:30 +0000 |
commit | 253f0dd6cf6c1309ca611fcafe9098e970a20466 (patch) | |
tree | 13477e53fb231c796aa1e4e40757bf2460000b6b /src/wp-includes/cache.php | |
parent | 3c810c5872150a1d576709b72d2c9ac8dd6e9ce5 (diff) | |
download | wordpress-253f0dd6cf6c1309ca611fcafe9098e970a20466.tar.gz wordpress-253f0dd6cf6c1309ca611fcafe9098e970a20466.zip |
Declare `multisite` as a field for `WP_Object_Cache`.
See #30799.
git-svn-id: https://develop.svn.wordpress.org/trunk@31682 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-includes/cache.php')
-rw-r--r-- | src/wp-includes/cache.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php index f5ad2cc87c..79b038b5f6 100644 --- a/src/wp-includes/cache.php +++ b/src/wp-includes/cache.php @@ -103,7 +103,7 @@ function wp_cache_flush() { * @param int|string $key What the contents in the cache are called * @param string $group Where the cache contents are grouped * @param bool $force Whether to force an update of the local cache from the persistent cache (default is false) - * @param &bool $found Whether key was found in the cache. Disambiguates a return of false, a storable value. + * @param bool &$found Whether key was found in the cache. Disambiguates a return of false, a storable value. * @return bool|mixed False on failure to retrieve contents or the cache * contents on success */ @@ -306,6 +306,15 @@ class WP_Object_Cache { private $blog_prefix; /** + * Holds the value of `is_multisite()` + * + * @var bool + * @access private + * @since 3.5.0 + */ + private $multisite; + + /** * Make private properties readable for backwards compatibility. * * @since 4.0.0 |