• Resolved aromarious

    (@aromarious)


    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.

    • This topic was modified 6 years, 1 month ago by aromarious.
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.