[wp-trac] [WordPress Trac] #35981: Convert WP_Widget into an abstract class

WordPress Trac noreply at wordpress.org
Sat Mar 12 21:23:54 UTC 2016


#35981: Convert WP_Widget into an abstract class
----------------------------------------------+----------------------------
 Reporter:  johnbillion                       |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  low                               |   Milestone:  Future
Component:  Widgets                           |  Release
 Severity:  normal                            |     Version:  2.8
 Keywords:  has-patch dev-feedback 4.6-early  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------

Comment (by westonruter):

 @swissspidy I'm pretty sure it's because `abstract` classes were
 introduced in PHP5, whereas `WP_Widget` was introduced when PHP4 support
 was still required.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35981#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list