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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 04:58:30 GMT 2009


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

  * priority:  normal => high
  * type:  task (blessed) => defect (bug)


Comment:

 There seems to be no 'safe' way to unregister default widgets and register
 new theme specif ones with the same name(overwriting).
 I was able (with the use of 'do_action('widgets_init');) to register my
 pages widgets with register_widget(). But the widget is using the options
 array ($instance) from the default widget in the front end. In the backend
 everything is good.

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


More information about the wp-trac mailing list