[wp-trac] [WordPress Trac] #37726: Mark $cache_hits public on WP_Object_Cache
WordPress Trac
noreply at wordpress.org
Tue Aug 23 14:37:33 UTC 2016
#37726: Mark $cache_hits public on WP_Object_Cache
-----------------------------+-----------------------------
Reporter: danielbachhuber | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Cache API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38335"]:
{{{
#!CommitTicketReference repository="" revision="38335"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37726#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list