[wp-trac] [WordPress Trac] #10615: Recent Comments Widget Should Use Comments API
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 14 21:41:28 UTC 2009
#10615: Recent Comments Widget Should Use Comments API
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Comments | Version: 2.9
Severity: normal | Keywords: get_comments WP_Widget_Recent_Comments has-patch
--------------------------+-------------------------------------------------
Changes (by westi):
* cc: westi (added)
Comment:
Patch looks good.
I wonder if the old caching mech was trying to be clever for multiple
widget instances so they all used the same cache hence always getting 15
comments
don't know if we want to preserve that behaviour.
It means that if you use the widget three times but with different comment
counts its only one cache entry to store and invalidate.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10615#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list