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

WordPress Trac noreply at wordpress.org
Mon Jun 6 21:50:32 UTC 2016


#35981: Convert WP_Widget into an abstract class
-------------------------+-----------------------
 Reporter:  johnbillion  |       Owner:  ocean90
     Type:  enhancement  |      Status:  reopened
 Priority:  low          |   Milestone:  4.6
Component:  Widgets      |     Version:  2.8
 Severity:  normal       |  Resolution:
 Keywords:  revert       |     Focuses:
-------------------------+-----------------------

Comment (by ocean90):

 In [changeset:"37648"]:
 {{{
 #!CommitTicketReference repository="" revision="37648"
 Widgets: Revert [37425] and [37427].

 The change can cause fatal errors under certain conditions, like when the
 subclass has a different function signature for `widget()` or doesn't even
 implement the method.

 See #35981.
 }}}

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


More information about the wp-trac mailing list