[wp-trac] Re: [WordPress Trac] #8441: New Widget API based on MultiWidget Class

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 24 16:14:51 GMT 2009


#8441: New Widget API based on MultiWidget Class
----------------------------+-----------------------------------------------
 Reporter:  thornomad       |       Owner:  azaozz                      
     Type:  task (blessed)  |      Status:  new                         
 Priority:  normal          |   Milestone:  2.8                         
Component:  Widgets         |     Version:  2.8                         
 Severity:  normal          |    Keywords:  widget, plugin, multi-widget
----------------------------+-----------------------------------------------

Comment(by scribu):

 I'm not sure. Can somebody test this code in PHP4?


 {{{
 class parent_class {
   function parent_class() {
     $this->method();
   }
 }

 class child_class extends parent_class {
   function method() {
     echo "howdy";
   }
 }

 new child_class();
 }}}

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


More information about the wp-trac mailing list