WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/23/2016 02:37:31 PM (3 years ago)
Author:
wonderboymusic
Message:

Cache: in WP_Object_Cache, $cache_misses is public, but $cache_hits is private. They should both be public, because they're useful for debugging purposes.

Props danielbachhuber.
Fixes #37726.

File:
1 edited

Legend:

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

    r37985 r38335  
    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    /**
Note: See TracChangeset for help on using the changeset viewer.