[wp-trac] Re: [WordPress Trac] #4169: Bring widgets into WordPress core

WordPress Trac wp-trac at lists.automattic.com
Fri May 4 21:55:03 GMT 2007


#4169: Bring widgets into WordPress core
-----------------------------+----------------------------------------------
 Reporter:  rob1n            |        Owner:  rob1n   
     Type:  task             |       Status:  assigned
 Priority:  highest omg bbq  |    Milestone:  2.2     
Component:  General          |      Version:          
 Severity:  blocker          |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by ryan):

 Let's do this.  Remove the $id from register_widget_control() and
 register_sidebar_widget() to restore them back to the old way.  Make them
 wrappers around the new functions wp_register_widget_control() and
 wp_register_sidebar_widget().  They will look like:

 function wp_register_widget_control($id, $name, $control_callback, $width
 = 300, $height = 200, $args = array())

 function wp_register_sidebar_widget($id, $name, $output_callback,
 $classname = '', $args = array())

 Change default widgets to use the new API.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4169#comment:54>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list