[wp-trac] [WordPress Trac] #10051: register_widget() should accept an object as the parameter

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 6 16:21:09 GMT 2009


#10051: register_widget() should accept an object as the parameter
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:                                      
     Type:  defect (bug)  |      Status:  new                                 
 Priority:  normal        |   Milestone:  2.9                                 
Component:  General       |     Version:  2.8                                 
 Severity:  normal        |    Keywords:  has-patch needs-testing dev-feedback
--------------------------+-------------------------------------------------
 The way widgets are currently registered don't allow you to pass arguments
 to the constructor.

 This is a possible solution that is backwards compatible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10051>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list