[wp-trac] [WordPress Trac] #57813: wp_get_missing_image_subsizes() can give error if image_meta exists, but not height/width
WordPress Trac
noreply at wordpress.org
Fri Oct 25 07:11:54 UTC 2024
#57813: wp_get_missing_image_subsizes() can give error if image_meta exists, but
not height/width
--------------------------+------------------------------
Reporter: donbowman | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.1.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by apermo):
https://github.com/WordPress/wordpress-develop/pull/7637
I ran into a similar issue, as seen in #62293 and opened a PR on GitHub.
I will check @donbowman's patches and integrate them into my PR.
I think my issue and Don's are not necessarily the same but closely
related. In case of Don's SVG issue, I think the solution might be a mime
type check, and an early out in case of SVG?
Updated PR is coming once I'm done.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57813#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list