[wp-trac] [WordPress Trac] #33440: Deprecated PHP4 style constructor warnings make debugging hard

WordPress Trac noreply at wordpress.org
Wed Sep 16 00:53:26 UTC 2015


#33440: Deprecated PHP4 style constructor warnings make debugging hard
-------------------------------------------------+-------------------------
 Reporter:  McGuive7                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Widgets                              |  Review
 Severity:  normal                               |     Version:  4.3
 Keywords:  2nd-opinion dev-feedback needs-      |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by McGuive7):

 Great, happy to implement this. The patch is ready to go, I'd just like to
 optimize the message to be as clear as possible. Anyone feel strongly
 about one of the following options, or another - assuming `Example_Widget`
 is the name of the child class?

 1. ... method for WP_Widget (Example_Widget)
 1. ... method for WP_Widget (called by Example_Widget)
 1. ... method for WP_Widget (called via Example_Widget)

 I'm inclined to go with option 2.

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


More information about the wp-trac mailing list