[wp-trac] [WordPress Trac] #48074: Remove work-arounds for unsupported PHP versions
WordPress Trac
noreply at wordpress.org
Fri Sep 20 22:39:34 UTC 2019
#48074: Remove work-arounds for unsupported PHP versions
----------------------------+--------------------------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.3
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance, coding-standards
----------------------------+--------------------------------------------
Comment (by SergeyBiryukov):
In [changeset:"46221" 46221]:
{{{
#!CommitTicketReference repository="" revision="46221"
Tests: Remove a workaround for `get_called_class()`.
The `get_called_class()` function was introduced in PHP 5.3, so no longer
needs a workaround.
Mark `WP_UnitTestCase_Base::get_called_class()` as deprecated. Leave it in
place for now as plugins or themes using the WP unit test framework might
still call this method.
Props jrf.
See #48074.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48074#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list