10up / safe-svg

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
https://wordpress.org/plugins/safe-svg/
GNU General Public License v2.0
263 stars 31 forks source link

fix width and height metadata condition on svg_dimensions function #174

Closed sksaju closed 5 months ago

sksaju commented 6 months ago

Description of the Change

Remediation work on the PR https://github.com/10up/safe-svg/pull/154

Closes #

How to test the Change

Changelog Entry

Added - New feature Changed - Existing functionality Deprecated - Soon-to-be removed feature Removed - Feature Fixed - Bug fix Security - Vulnerability

Credits

Props @username, @username2, ...

Checklist: