You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Safe SVG plugin is remote fetching data in https://github.com/10up/safe-svg/blob/develop/safe-svg.php#L290. This is called via wp_get_attachment_image_src() which happens a lot of the time. On many page loads that then include SVGs this will slow down the page load a lot.
This is to set the image dimensions from things like viewBox or width / height attributes. I think we need to remove that behavior, but there's no simple way to unhook this, as it's part of a self initialized class with no global handle.
The text was updated successfully, but these errors were encountered:
The Safe SVG plugin is remote fetching data in https://github.com/10up/safe-svg/blob/develop/safe-svg.php#L290. This is called via
wp_get_attachment_image_src()
which happens a lot of the time. On many page loads that then include SVGs this will slow down the page load a lot.This is to set the image dimensions from things like
viewBox
orwidth / height
attributes. I think we need to remove that behavior, but there's no simple way to unhook this, as it's part of a self initialized class with no global handle.The text was updated successfully, but these errors were encountered: