آیکن SVG Support
افزونه رایگان نسخه 2.6.1

SVG Support

توسعه‌دهنده: Benbodhi

توضیحات

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

تغییرات این نسخه

2.6.1

Fixed:

Fatal error when uploading SVGs through WP-CLI (wp media import, migration and hosting tooling) — the sanitizer instance never reached global scope in CLI contexts. No security impact: affected uploads crashed rather than skipping sanitization (failed closed). The sanitizer is now resolved through a defensive accessor, with regression tests covering the CLI loading context. Props to Cal from Toolshed for the excellent report.

2.6.0

New Features:

Completely redesigned settings screen with the new SVG Support brand — cleaner panels, real toggle switches, role picker chips, and a live code sample

Settings now auto-save as you change them, with a save-state indicator (the classic Save button remains as a no-JS fallback)

Advanced Mode now reveals its options instantly when toggled — no more save-and-reload

Scannable QR codes for the BTC and ETH donation addresses (tap the QR icon next to each address)

New brand site at https://svg.support with tutorials and documentation

Code Improvements:

Removed the third-party jQuery dropdown multiselect (~1,000 lines) — role pickers are now dependency-free native checkboxes

Fixed admin/front-end asset cache-busting: enqueued styles/scripts are now versioned with the plugin version (previously the version was empty, so browser caches never refreshed on update)

Settings screen assets (fonts, icons, styles, JS) only load on the SVG Support settings page

Removed the CodeKit build dependency — stylesheets are now plain CS