washingtonstateuniversity / WSUWP-Platform

Central publishing platform built on WordPress at Washington State University
Other
34 stars 1 forks source link

Hotfix: Suppress errors from `getimagesize()` #426

Closed jeremyfelt closed 6 years ago

jeremyfelt commented 6 years ago

getimagesize() does not handle stream data that well, so in a way these extraneous bytes errors that we're seeing in the PHP logs are themselves extraneous... 🥁

See https://core.trac.wordpress.org/ticket/42480 for more background and how this may be resolved in the next release of WP after 4.9.