[wp-trac] Re: [WordPress Trac] #8441: New Widget API based on MultiWidget Class

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 12:52:24 GMT 2009


#8441: New Widget API based on MultiWidget Class
----------------------------+-----------------------------------------------
 Reporter:  thornomad       |       Owner:  azaozz                      
     Type:  task (blessed)  |      Status:  new                         
 Priority:  high            |   Milestone:  2.8                         
Component:  Widgets         |     Version:  2.8                         
 Severity:  normal          |    Keywords:  widget, plugin, multi-widget
----------------------------+-----------------------------------------------

Comment(by kretzschmar):

 Replying to [comment:36 ryan]:
 > I added unregister_widget().  Does that help?   You should be able to
 unregister_widget('WP_Widget_Pages') and then
 register_widget('My_Widget_Pages') from a function hooked onto
 widgets_init.

 This doesn't work here. There is no error showing up but the widgets
 aren't unregistered.

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


More information about the wp-trac mailing list