[wp-trac] [WordPress Trac] #10612: Extract recent comments code out of the widget

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 14 09:48:09 UTC 2009


#10612: Extract recent comments code out of the widget
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:             
     Type:  enhancement   |      Status:  new        
 Priority:  normal        |   Milestone:  Unassigned 
Component:  Template      |     Version:  2.9        
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Perhaps have a look at `the_widget($widget, $instance = array(), $args =
 array())`. It would output an instance of a widget. For recent comments it
 would be `the_widget( 'WP_Widget_Recent_Comments' );`.

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


More information about the wp-trac mailing list