[wp-trac] [WordPress Trac] #32480: Add _doing_it_wrong method call to WP_Widget PHP4 style constructor
WordPress Trac
noreply at wordpress.org
Mon May 25 05:29:40 UTC 2015
#32480: Add _doing_it_wrong method call to WP_Widget PHP4 style constructor
------------------------------------+------------------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by dd32):
> WordPress still supports PHP 5.2 so removing them is not an option
Minor clarification; Only PHP4 requires them, they're included for
backwards compatibility with plugins who are subclassing `WP_Widget` and
calling `WP_Widget::WP_Widget()` directly in their constructors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32480#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list