[wp-trac] Re: [WordPress Trac] #9800: Widget API won't work with PHP 4

WordPress Trac wp-trac at lists.automattic.com
Tue May 12 19:07:19 GMT 2009


#9800: Widget API won't work with PHP 4
--------------------------+-------------------------------------------------
 Reporter:  codestyling   |        Type:  defect (bug)
   Status:  new           |    Priority:  high        
Milestone:  2.8           |   Component:  Widgets     
  Version:                |    Severity:  blocker     
 Keywords:  widgets PHP4  |  
--------------------------+-------------------------------------------------

Comment(by ryan):

 All callbacks point to the last widget registered.

 Changing this:

 {{{
 return array(&$this, 'form_callback');
 }}}

 to this:

 {{{
 return array($this, 'form_callback');
 }}}

 fixes the problem but is an ugly solution.

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


More information about the wp-trac mailing list