[wp-trac] Re: [WordPress Trac] #9701: Pull the "Recent Comments" code out of the widget and into it's own function

WordPress Trac wp-trac at lists.automattic.com
Sun May 3 00:42:17 GMT 2009


#9701: Pull the "Recent Comments" code out of the widget and into it's own
function
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:                
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Widgets       |     Version:  2.8           
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by hakre):

 Install the attached Plugin and you will see the output of a the_widget()
 test-implementation that does exactly what it is intended for:

 {{{
 the_widget('WP_Widget_Recent_Posts'); // Widget by Classname
 the_widget('Recent Comments'); // Widget by Name
 }}}

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


More information about the wp-trac mailing list