Version Description
Download this release
Release Info
Developer | sterlo |
Plugin | Scalable Vector Graphics (SVG) |
Version | 1.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.1
scalable-vector-graphics.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Scalable Vector Graphics (SVG)
|
4 |
* Plugin URI: http://sterlinghamilton.com/scalable-vector-graphics-plugin
|
5 |
* Description: Scalable Vector Graphics are two-dimensional vector graphics, that can be both static and dynamic. This plugin allows your to easily use them on your site.
|
6 |
-
* Version: 1.
|
7 |
* Author: Sterling Hamilton
|
8 |
* Author URI: http://www.sterlinghamilton.com
|
9 |
* License: GPLv2 or later
|
@@ -31,7 +31,7 @@ class scalable_vector_graphics {
|
|
31 |
}
|
32 |
|
33 |
function allow_svg_uploads( $existing_mime_types = array() ) {
|
34 |
-
$new_mime_types = $
|
35 |
$new_mime_types[ 'svg' ] = 'mime/type';
|
36 |
|
37 |
return $new_mime_types;
|
3 |
* Plugin Name: Scalable Vector Graphics (SVG)
|
4 |
* Plugin URI: http://sterlinghamilton.com/scalable-vector-graphics-plugin
|
5 |
* Description: Scalable Vector Graphics are two-dimensional vector graphics, that can be both static and dynamic. This plugin allows your to easily use them on your site.
|
6 |
+
* Version: 1.1
|
7 |
* Author: Sterling Hamilton
|
8 |
* Author URI: http://www.sterlinghamilton.com
|
9 |
* License: GPLv2 or later
|
31 |
}
|
32 |
|
33 |
function allow_svg_uploads( $existing_mime_types = array() ) {
|
34 |
+
$new_mime_types = $existing_mime_types;
|
35 |
$new_mime_types[ 'svg' ] = 'mime/type';
|
36 |
|
37 |
return $new_mime_types;
|