[wp-trac] [WordPress Trac] #57239: Notice undefined array keys width and height when using full svg image
WordPress Trac
noreply at wordpress.org
Thu Dec 1 07:22:49 UTC 2022
#57239: Notice undefined array keys width and height when using full svg image
--------------------------+-----------------------------
Reporter: joeyjanson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.1.1
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
If you add media like an svg and use it with the "full size" option the
width and height are not fetched. Currently the function (wp-
includes/media.php line 1185) expects those array keys.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57239>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list