Skip to content

Releases: 10up/safe-svg

2.1.0

22 Mar 16:49
Compare
Choose a tag to compare

Added

Changed

Security

New Contributors


Full Changelog: 2.0.3...2.1.0
View closed items in the milestone.

2.0.3

01 Sep 19:50
Compare
Choose a tag to compare

Added

Fixed

New Contributors


Full Changelog: 2.0.2...2.0.3
View closed items in the milestone.

2.0.2

27 Jun 20:54
Compare
Choose a tag to compare

Added

Changed

  • Bump WordPress version "tested up to" 6.0 (props @dkotter via #65).

Removed

New Contributors


Full Changelog: 2.0.1...2.0.2
View closed items in the milestone.

2.0.1

19 Apr 17:40
Compare
Choose a tag to compare

Changed

Fixed


Full Changelog: 1.9.10...2.0.0
View closed items in the milestone.

2.0.0

06 Apr 15:18
03e7bf5
Compare
Choose a tag to compare

Added

  • New filter, safe_svg_use_width_height_attributes, that can be used to change the order of attributes we use to determine the SVG dimensions (props @dkotter, @peterwilsoncc via #43).

Changed

Fixed

  • Use the viewBox attributes first for image dimensions. Ensure we don't use image dimensions that end with percent signs (props @dkotter, @peterwilsoncc via #43).
  • Make sure we use the full size SVG dimensions rather than the requested size, to avoid wrong sizes being used and duplicate height and width attributes (props @dkotter, @cadic via #44).
  • Ensure the tmp_name and name properties exist before we use them (props @dkotter, @aksld via #46).

New Contributors

Full Changelog: 1.9.10...2.0.0
View closed items in the milestone.

1.9.10

23 Feb 18:22
2e3c5bd
Compare
Choose a tag to compare

Note that this release bumps the WordPress minimum version from 4.0 to 4.7 and the PHP minimum version from 5.6 to 7.0.

Changed

Fixed

New Contributors

Full Changelog: 1.9.9...1.9.10
See all closed items in the milestone.