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

WordPress Trac wp-trac at lists.automattic.com
Thu May 28 21:33:04 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 ryan):

 Default widgets are registered before the widgets_init action is called,
 so they should be registered before widgets added by plugins and themes.
 My 9952.2.diff allowed the sapphire theme to unregister the default pages
 widget and register a replacement.

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


More information about the wp-trac mailing list