[wp-trac] Re: [WordPress Trac] #9952: Unregistering default widgets is not backwards compatible

WordPress Trac wp-trac at lists.automattic.com
Thu May 28 09:38:15 GMT 2009


#9952: Unregistering default widgets is not backwards compatible
--------------------------+-------------------------------------------------
 Reporter:  mtdewvirus    |       Owner:  azaozz 
     Type:  defect (bug)  |      Status:  new    
 Priority:  high          |   Milestone:  2.8    
Component:  Widgets       |     Version:  2.8    
 Severity:  normal        |    Keywords:  widgets
--------------------------+-------------------------------------------------

Comment(by azaozz):

 We can either skip registering the new multi-widget when there's a
 registered widget with the same id or unregister the old style widget
 while registering the new one.

 Seems most of the widgets that replace a default widget use the same
 option when storing the settings (not compatible with the new multi-
 widgets) and may use directly some functions that were part of the default
 widgets before and don't exist now. So perhaps it's better to unregister
 single widgets that try to replace a default widget.

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


More information about the wp-trac mailing list