@serpent7776 on WordPress.org
Mentioned in [34984] on Core SVN:Media: Return early from `media_sideload_image()` if `$file` didn't match the pattern for images.
Created ticket #32755 on Core Trac:media_sideload_image should return early when preg_match didn't match