[wp-trac] [WordPress Trac] #48091: Remove conditional use of PHP stream_get_contents()
WordPress Trac
noreply at wordpress.org
Wed Apr 15 11:52:51 UTC 2020
#48091: Remove conditional use of PHP stream_get_contents()
-----------------------------+--------------------------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.5
Component: General | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch early | Focuses: performance, coding-standards
-----------------------------+--------------------------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"47584" 47584]:
{{{
#!CommitTicketReference repository="" revision="47584"
Code Modernization: Remove conditional use of `stream_get_contents()` PHP
function.
The function was introduced in PHP 5.0.0. Now that the minimum version of
PHP required by WordPress is 5.6.20, these conditions are no longer
needed.
Props jrf.
Fixes #48091.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48091#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list