WordPress.org

Make WordPress Core

Ticket #37726: 37726.1.diff

File 37726.1.diff, 491 bytes (added by danielbachhuber, 5 years ago)
  • src/wp-includes/cache.php

    diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php
    index 6c53eab..623895d 100644
    a b class WP_Object_Cache { 
    302302         * The amount of times the cache data was already stored in the cache.
    303303         *
    304304         * @since 2.5.0
    305          * @access private
     305         * @access public
    306306         * @var int
    307307         */
    308         private $cache_hits = 0;
     308        public $cache_hits = 0;
    309309
    310310        /**
    311311         * Amount of times the cache did not have the request in cache.