[wp-trac] [WordPress Trac] #11566: clean_comment_cache() does not clean $GLOBALS['comment']
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 28 04:23:11 UTC 2009
#11566: clean_comment_cache() does not clean $GLOBALS['comment']
--------------------------+-------------------------------------------------
Reporter: sirzooro | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.1
Component: Comments | Version: 2.9
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [ticket:11566 sirzooro]:
> As I checked, `wp_trash_comment()` calls `get_comment()`. The latter
function implements simple comments cache using `$GLOBALS['comment']`.
Why not fix that function to use the propper cache instead of a global?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11566#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list