SVG Enabler
This plugin gives you the ability to allow SVG uploads whilst making sure that they’re sanitized to stop SVG/XML vulnerabilities affecting your site.
Maintenance 20/1001058d since update
Active installs
30
Downloads
2,681
Reviews
0
Age
2.9y
Tagssvg supportsvg uploadallow svg uploadsvg upload enabler
Plugin info
Total downloads: 2,681
Active installs: 30
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 2/7/2023 (1058 days ago)
Added to WordPress: 1/27/2023 (2 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.1.9
Minimum PHP version: 7.1
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 1058 days ago
20/100
Is SVG Enabler abandoned?
Possibly abandoned (last update 1058 days ago).
Compatibility
Requires WordPress: 5.0
Tested up to: 6.1.9
Requires PHP: 7.1
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
No similar plugins found yet.
Description
This plugin gives you the ability to allow SVG uploads whilst making sure that they’re sanitized to stop SVG/XML vulnerabilities affecting your site.
Installation
INSTALL “SVG Enabler” FROM WITHIN WORDPRESS
- Visit the plugins page within your dashboard and select ‘Add New’;
- Search for ‘SVG Enabler’;
- Activate SVG Enabler from your Plugins page;
- Go to ‘after activation’ below.
INSTALL “SVG Enabler” MANUALLY
- Upload the ‘svg-enabler’ folder to the /wp-content/plugins/ directory;
- Activate the SVG Enabler through the ‘Plugins’ menu in WordPress;
- Go to ‘after activation’ below.
AFTER ACTIVATION
- SVG Enabler is a ‘set and forget’ plugin. There are no settings fields as your site’s scheduled posts will be automatically checked when the plugin is installed and activated.
- You’re done!
Frequently Asked Questions
Yes, this can be done using the svg_allowed_attributes and svg_allowed_tags filters. They take one argument that must be returned.
add_filter( 'optimisthub_svg_enabler_allowed_attributes', function ( $attributes )
{
$attributes[] = 'target'; // This would allow the target="" attribute.
return $attributes;
} );
add_filter( 'optimisthub_svg_enabler_allowed_tags', function ( $tags )
{
$tags[] = 'use'; // This would allow the <use> element.
return $tags;
} );
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.0.3
- Author name issue.
1.0.2 – 1.0.1
- Github Action
1.0.0
- Stable version released