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

WordPress Trac noreply at wordpress.org
Tue May 17 05:43:15 UTC 2016


#35981: Convert WP_Widget into an abstract class
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  ocean90
     Type:  enhancement                          |      Status:  closed
 Priority:  low                                  |   Milestone:  4.6
Component:  Widgets                              |     Version:  2.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback commit        |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by netweb):

 * keywords:  has-patch, dev-feedback, commit, needs-dev-note => has-patch
     dev-feedback commit needs-dev-note


Comment:

 Replying to [comment:8 kraftbj]:
 > For plugin authors: If your widget does not include a widget() function,
 you'll need to add an noop function to prevent fatals.
 It looks like this change has caused bbPress to fatal with PHP 5.2

 Related: #bbPress2952

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


More information about the wp-trac mailing list