Bug in `svg_dimensions` method
-
Hi,
Please fix this bug here:
https://plugins.trac.ww.wp.xz.cn/browser/safe-svg/trunk/safe-svg.php#L429
You need to trim the
$svg->attributes()before runningis_numericchecks or they always return false because they are still objects. Right now it always defaults to 100 if noviewBoxattribute is set, even when the height and width attributes are set.Cheers
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug in `svg_dimensions` method’ is closed to new replies.