[wp-trac] [WordPress Trac] #33440: Deprecated PHP4 style constructor warnings make debugging hard
WordPress Trac
noreply at wordpress.org
Wed Sep 16 00:00:17 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:
-------------------------------------------------+-------------------------
Changes (by jorbin):
* keywords: has-patch 2nd-opinion dev-feedback => 2nd-opinion dev-feedback
needs-patch
Comment:
It's unlikely, but I'd rather be defensive, especially since this is for
enhancing a deprecation warning that will have been around a release
cycle.
I would support an updated version of attachment:33440.2.diff that checked
if $this is set and if so, used `get_class( $this )` instead of
WP_Widget.
Any other enhancement ideas for the string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33440#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list