[wp-trac] [WordPress Trac] #31982: WordPress PHPUnit Tests should run error free on PHP7 - 4.3 tracking ticket
WordPress Trac
noreply at wordpress.org
Fri Apr 17 19:16:44 UTC 2015
#31982: WordPress PHPUnit Tests should run error free on PHP7 - 4.3 tracking ticket
----------------------------+-----------------------------
Reporter: jorbin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 jdgrimes]:
> If not, should the new `__construct()` method call the PHP4 constructor,
or should the logic be moved into `__construct()`?
I'd suggest following the current `WP_Widget` approach:
* Move the logic to the new `__construct()` method.
* Call the new `__construct()` method in the PHP4 constructor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31982#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list