[wp-trac] [WordPress Trac] #64056: Media / REST API: Uploading non-resizable image formats (SVG) generates multiple PHP warnings
WordPress Trac
noreply at wordpress.org
Wed Oct 1 08:28:56 UTC 2025
#64056: Media / REST API: Uploading non-resizable image formats (SVG) generates
multiple PHP warnings
-------------------------------------------+------------------------------
Reporter: jignesh.nakrani | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing close | Focuses: rest-api
-------------------------------------------+------------------------------
Comment (by jignesh.nakrani):
@jorbin Yes, SVG uploads are not fully supported by core, but WordPress
core is working on adding support for SVG.
some reference:
https://core.trac.wordpress.org/ticket/63302
https://github.com/WordPress/wordpress-
develop/blob/3284fb08ff60e33930a1468fce439b02725e831e/src/wp-includes
/rest-api/endpoints/class-wp-rest-attachments-controller.php#L158-L162
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64056#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list