[wp-trac] [WordPress Trac] #63302: SVG images can't be uploaded anymore due to a resizing issue
WordPress Trac
noreply at wordpress.org
Sat Apr 19 17:37:38 UTC 2025
#63302: SVG images can't be uploaded anymore due to a resizing issue
-------------------------------------------------+-------------------------
Reporter: audrasjb | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.8.1
Component: Editor | Version: 6.8
Severity: normal | Resolution:
Keywords: has-screenshots has-patch dev- | Focuses:
feedback needs-testing has-testing-info |
needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:26 adamsilverstein]:
> >Yes I was exactly thinking this here, but with all the futureproofing
thing, I came down to this alternative
>
> A local variable would be fine to help clarify the purpose and might be
easier to document.
Ok I updated the patch code with just the local variable
What it surprises me is that SVG supported by `WP_Image_Editor_Imagick`
https://imagemagick.org/script/formats.php#supported
[[Image(https://i.imgur.com/jC0POjw.png)]]
Not sure why its being ignored in the `wp_image_editor_supports part
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63302#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list