https://github.com/lewiscowles1986/wordpresssvgplugin
WordPress SVG Plugin
https://github.com/lewiscowles1986/wordpresssvgplugin
reference-implementation svg wordpress-plugin
Last synced: 4 months ago
JSON representation
WordPress SVG Plugin
- Host: GitHub
- URL: https://github.com/lewiscowles1986/wordpresssvgplugin
- Owner: Lewiscowles1986
- License: gpl-3.0
- Created: 2016-07-21T16:06:29.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T12:22:59.000Z (over 3 years ago)
- Last Synced: 2023-08-01T22:29:31.981Z (over 2 years ago)
- Topics: reference-implementation, svg, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 1.65 MB
- Stars: 42
- Watchers: 5
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://github.com/Lewiscowles1986/WordPressSVGPlugin/releases)
[](https://raw.githubusercontent.com/Lewiscowles1986/WordPressSVGPlugin/master/LICENSE)
# Enable SVG Uploads WordPress Plugin
This plugin enables SVG uploads in WordPress Media Library with very little overhead.
## Installation
Download and extract the zip file or clone this repo to your WordPress plugins directory.
After an upgrade to 2.x it may be necessary to download and re-upload your SVG media files so that the grid works. This is because we now use simple XML to retrieve the width & height of the SVG.
### Requirements
* WordPress 4.4 or higher (advised to use latest)
* PHP 7.1 or higher (EOL versions may work, but you should still run this on latest stable)
* PHP 7.3 is the minimum to run the tests due to phpunit 9
### Updates
Automatic updates are supported via [GitHub Updater](https://github.com/afragen/github-updater).
## Feedback
Please feel free to suggest improvements, report conflicts, and/or make suggestions for hooks to integrate with third-party plugins.
## Goals
- Install / start container / VM for each release since
- Download from GitHub & install plugin
- Use browser automation to test [(details)](https://github.com/Lewiscowles1986/WordPressSVGPlugin/issues/5)