[wp-trac] [WordPress Trac] #48074: Remove work-arounds for unsupported PHP versions
WordPress Trac
noreply at wordpress.org
Fri Sep 20 22:17:59 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:"46217" 46217]:
{{{
#!CommitTicketReference repository="" revision="46217"
Code Modernization: Remove a workaround for `IMAGETYPE_ICO` in
`file_is_displayable_image()`.
The `IMAGETYPE_ICO` constant was introduced in PHP 5.3, so no longer needs
a workaround.
Props jrf.
See #48074.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48074#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list