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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 06:39:41 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 azaozz):

 Replying to [comment:33 kretzschmar]:
 > There seems to be no 'safe' way to unregister default widgets and
 register new theme specif ones with the same name(overwriting).

 You can actually do that if you use different `id_base`. This is the bit
 used to identify the widget, save the settings, etc. and is set
 independently from the widget name. As long as the id_base is different,
 the widget is different.

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


More information about the wp-trac mailing list