[wp-trac] [WordPress Trac] #42480: Consistent suppression of `getimagesize()` errors
WordPress Trac
noreply at wordpress.org
Thu Jan 4 19:11:02 UTC 2018
#42480: Consistent suppression of `getimagesize()` errors
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.9.2
Component: Media | Version: 2.5
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by blobfolio):
For something completely different, I ended up having to write a wrapper
for `getimagesize()` to address various bugs and shortcomings across PHP
versions. That effort is part of #35725, for anyone interested. As a
consequence of redirecting Core calls to the wrapper, all error
suppression behaviors are consistent. ;)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42480#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list