[wp-trac] [WordPress Trac] #10615: Recent Comments Widget Should Use Comments API

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 13:49:56 UTC 2010


#10615: Recent Comments Widget Should Use Comments API
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:                   
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  3.0              
Component:  Comments      |     Version:  2.9              
 Severity:  normal        |    Keywords:  needs-patch early
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  get_comments WP_Widget_Recent_Comments has-patch early =>
               needs-patch early


Comment:

 widget_comments_use_api.10615.persistent_cache.diff is erroneous. the last
 call to wp_cache_add() is bogus (it's missing an argument), and it should
 be using wp_cache_set() instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10615#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list