[wp-trac] [WordPress Trac] #55247: SVG logos generate warnings from _wp_get_image_size_from_meta()
WordPress Trac
noreply at wordpress.org
Fri Feb 25 14:28:25 UTC 2022
#55247: SVG logos generate warnings from _wp_get_image_size_from_meta()
--------------------------+------------------------------
Reporter: gillespieza | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.9
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by nosilver4u):
Since SVG uploads are not allowed by core currently, you're likely using a
plugin, right? If so, it's up to the plugin to add a width/height, even if
it's just arbitrary values. Otherwise, yes, you'll get all sorts of issues
with core because the dimensions are used by core all over the place.
It's possible that can be changed if core ever adds support for SVG
uploads, but sadly that's not a thing yet (probably a ticket for it
somewhere though).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55247#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list