Version Description
- Fix: Fatal error for some because a function wasn't prefixed.
Download this release
Release Info
Developer | Benbodhi |
Plugin | SVG Support |
Version | 2.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.3 to 2.3.4
- admin/admin-init.php +1 -1
- readme.txt +9 -1
- svg-support.php +2 -2
admin/admin-init.php
CHANGED
@@ -119,7 +119,7 @@ function bodhi_svgs_specific_pages_media_library() {
|
|
119 |
* Screen check function
|
120 |
* Check if the current page is a post edit page
|
121 |
*/
|
122 |
-
function
|
123 |
|
124 |
global $pagenow;
|
125 |
|
119 |
* Screen check function
|
120 |
* Check if the current page is a post edit page
|
121 |
*/
|
122 |
+
function bodhi_svgs_is_edit_page( $new_edit = null ) {
|
123 |
|
124 |
global $pagenow;
|
125 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: svg, vector, css, style, mime, mime type, embed, img, inline, animation
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8-alpha-39901
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -138,6 +138,10 @@ If you are using SVG Support with Visual Composer or any other page builders, yo
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
|
|
141 |
= 2.3.3 =
|
142 |
|
143 |
* Fix: Missing arguments PHP warnings from new attribute control file.
|
@@ -260,6 +264,10 @@ If you are using SVG Support with Visual Composer or any other page builders, yo
|
|
260 |
|
261 |
== Upgrade Notice ==
|
262 |
|
|
|
|
|
|
|
|
|
263 |
= 2.3.3 =
|
264 |
|
265 |
* This update fixes some PHP warnings introduced in 2.3.2 and also has updated settings page text.
|
4 |
Tags: svg, vector, css, style, mime, mime type, embed, img, inline, animation
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8-alpha-39901
|
7 |
+
Stable tag: 2.3.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
138 |
|
139 |
== Changelog ==
|
140 |
|
141 |
+
= 2.3.4 =
|
142 |
+
|
143 |
+
* Fix: Fatal error for some because a function wasn't prefixed.
|
144 |
+
|
145 |
= 2.3.3 =
|
146 |
|
147 |
* Fix: Missing arguments PHP warnings from new attribute control file.
|
264 |
|
265 |
== Upgrade Notice ==
|
266 |
|
267 |
+
= 2.3.4 =
|
268 |
+
|
269 |
+
* Fixes fatal error for some because a function wasn't prefixed.
|
270 |
+
|
271 |
= 2.3.3 =
|
272 |
|
273 |
* This update fixes some PHP warnings introduced in 2.3.2 and also has updated settings page text.
|
svg-support.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SVG Support
|
4 |
Plugin URI: http://wordpress.org/plugins/svg-support/
|
5 |
Description: Allow SVG file uploads using the WordPress Media Library uploader plus the ability to inline SVG files for direct targeting of SVG elements for CSS and JS.
|
6 |
-
Version: 2.3.
|
7 |
Author: Benbodhi
|
8 |
Author URI: http://benbodhi.com
|
9 |
Text Domain: svg-support
|
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
22 |
/**
|
23 |
* Global variables
|
24 |
*/
|
25 |
-
$svgs_plugin_version = '2.3.
|
26 |
$plugin_file = plugin_basename(__FILE__); // plugin file for reference
|
27 |
define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
|
28 |
define( 'BODHI_SVGS_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // define the plugin url for use in enqueue
|
3 |
Plugin Name: SVG Support
|
4 |
Plugin URI: http://wordpress.org/plugins/svg-support/
|
5 |
Description: Allow SVG file uploads using the WordPress Media Library uploader plus the ability to inline SVG files for direct targeting of SVG elements for CSS and JS.
|
6 |
+
Version: 2.3.4
|
7 |
Author: Benbodhi
|
8 |
Author URI: http://benbodhi.com
|
9 |
Text Domain: svg-support
|
22 |
/**
|
23 |
* Global variables
|
24 |
*/
|
25 |
+
$svgs_plugin_version = '2.3.4'; // for use on admin pages
|
26 |
$plugin_file = plugin_basename(__FILE__); // plugin file for reference
|
27 |
define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
|
28 |
define( 'BODHI_SVGS_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // define the plugin url for use in enqueue
|