[wp-trac] [WordPress Trac] #21327: No default value is set for $group in WP_Object_Cache for the decr method
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 20 20:15:26 UTC 2012
#21327: No default value is set for $group in WP_Object_Cache for the decr method
-----------------------------+---------------------
Reporter: bananastalktome | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Cache | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-----------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [21294]:
{{{
#!CommitTicketReference repository="" revision="21294"
If $group is empty in WP_Object_Cache::decr(), consider it to be
'default'.
This is consistent with the rest of the cache methods wrapped by
functions; the functions pass an empty string by default, hence
the need for this check.
props bananastalktome.
fixes #21327.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21327#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list