[wp-trac] [WordPress Trac] #15493: Twenty Ten: twentyten_remove_recent_comments_style() throws notice when Recent Comments not in use

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 16:49:34 UTC 2010


#15493: Twenty Ten: twentyten_remove_recent_comments_style() throws notice when
Recent Comments not in use
--------------------------+-------------------------------------------------
 Reporter:  kawauso       |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------
 `twentyten_remove_recent_comments_style()` uses
 `$wp_widget_factory->widgets['WP_Widget_Recent_Comments']`, but this is
 not present when the Recent Comments widget is not in use and the user
 cannot modify widgets, resulting in an undefined index.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15493>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list