freakpants
@freakpants on WordPress.org and Slack
- Member Since: July 1st, 2015
Contribution History
freakpants’s badges:- Translation Contributor
-
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
I just did. https://core.trac.wordpress.org/ticket/39552 -
Created ticket #39552 on Core Trac:
SVG upload support broken in 4.7.1 -
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
A safe way to fix the issue without compromising security: Inside function wp_get_image_mime( $file ),… -
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
Actually, wp_get_image_mime() should probably not be used to validate svg at all... Neither functions in… -
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
Problem is actually this line: $mime = image_type_to_mime_type( exif_imagetype( $file ) ); exif_imagetype for svg… -
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
Found the change that did it (i think): https://github.com/WordPress/WordPress/commit/52897df8cdb2ab97f3ebd4c4704e38c1fd684f15 Apparently exif_imagetype was so far not… -
Posted a reply to Uploading mp3 files doesn’t work anymore, on the site WordPress.org Forums:
Probably related to this: https://wordpress.org/support/topic/wp-4-7-1-kills-svg/ Changes to mime type handling have also broken svg support. -
Posted a reply to WP 4.7.1 Kills SVG, on the site WordPress.org Forums:
I replicated the same issue. When i turned off all plugins and switch to the…