Patch for the “width and heights are zero” problem
-
As for both the width and the height are zero in my media edit page of SVGs, I examined the code of this plugin (ver.1.9.2).
At the line of 336 and 337 of safe_svg.php:
‘width’ => intval( $dimensions -> width ),
‘height’ => intval( $dimensions -> height ),they will cause an exception. These codes would be:
‘width’ => intval( $dimensions[‘width’] ),
‘height’ => intval( $dimensions[‘height’] ),Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Patch for the “width and heights are zero” problem’ is closed to new replies.