[wp-trac] Re: [WordPress Trac] #9952: Unregistering default widgets
is not backwards compatible
WordPress Trac
wp-trac at lists.automattic.com
Thu May 28 16:48:57 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):
Patch builds upon yours. It adds the ability to pass an id to
WP_Widget_Factory::unregister() and calls unregister_widget() from the
unregister cases in wp_register_widget_control() and
wp_register_sidebar_widget(). Not yet tested, and phpdoc needs updated to
reflect that ids and widget classes can be passed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9952#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list