[wp-trac] Re: [WordPress Trac] #9651: New Widget API - breaks plugins - widget options

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 29 22:23:58 GMT 2009


#9651: New Widget API - breaks plugins - widget options
------------------------------------+---------------------------------------
 Reporter:  ceenz                   |        Owner:          
     Type:  defect (bug)            |       Status:  reopened
 Priority:  normal                  |    Milestone:  2.8     
Component:  Widgets                 |      Version:  2.8     
 Severity:  blocker                 |   Resolution:          
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by hakre):

 +1 to remove pass by reference. this will create problems with current WPs
 running on php5 (the minority?) and then all the upcomming WPs running
 php5+.

 for php4, this should be not that much a problem. widgets force on "the
 reference" should register "their reference" in the globals variable space
 and catch it from there (in case of a copy).

 nothing a plugin author can not handle, this is an upgrade that _can_
 break things.

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


More information about the wp-trac mailing list