SVG Support - Version 2.1.6

Version Description

  • Added missing jQuery dependency in /functions/enqueue.php (pointed out by walbach) - was loading SVG Support JS before jQuery.
Download this release

Release Info

Developer Benbodhi
Plugin Icon 128x128 SVG Support
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

Files changed (3) hide show
  1. functions/enqueue.php +1 -1
  2. readme.txt +12 -4
  3. svg-support.php +2 -2
functions/enqueue.php CHANGED
@@ -12,7 +12,7 @@ function bodhi_svgs_inline() {
12
 
13
  $css_target = 'img.'. $bodhi_svgs_options['css_target']; // sets the custom class for use in JS
14
 
15
- wp_register_script('bodhi_svg_inline', plugins_url('svg-support/js/svg-inline.js'), array(), '1.0.0', false );
16
  wp_enqueue_script('bodhi_svg_inline');
17
  wp_localize_script( 'bodhi_svg_inline', 'cssTarget', $css_target );
18
 
12
 
13
  $css_target = 'img.'. $bodhi_svgs_options['css_target']; // sets the custom class for use in JS
14
 
15
+ wp_register_script('bodhi_svg_inline', plugins_url('svg-support/js/svg-inline.js'), array('jquery'), '1.0.0', false );
16
  wp_enqueue_script('bodhi_svg_inline');
17
  wp_localize_script( 'bodhi_svg_inline', 'cssTarget', $css_target );
18
 
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
5
  Requires at least: 3.4
6
  Tested up to: 3.9.2
7
- Stable tag: 2.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,9 +107,13 @@ I will put the answers to any questions asked here.
107
 
108
  == Changelog ==
109
 
 
 
 
 
110
  = 2.1.5 =
111
 
112
- * Added Serbian translation, submitted by Ogi Djuraskovic
113
 
114
  = 2.1.4 =
115
 
@@ -149,9 +153,13 @@ I will put the answers to any questions asked here.
149
 
150
  == Upgrade Notice ==
151
 
 
 
 
 
152
  = 2.1.5 =
153
 
154
- * Added Serbian translation, submitted by Ogi Djuraskovic
155
 
156
  = 2.1.4 =
157
 
@@ -167,7 +175,7 @@ I will put the answers to any questions asked here.
167
 
168
  = 2.1.1 =
169
 
170
- * Update to conditional in JS file
171
 
172
  = 2.1 =
173
 
4
  Tags: svg, vector, css, style, mime, mime type, embed, img, inline
5
  Requires at least: 3.4
6
  Tested up to: 3.9.2
7
+ Stable tag: 2.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 2.1.6 =
111
+
112
+ * Added missing jQuery dependency in /functions/enqueue.php (pointed out by [walbach](http://wordpress.org/support/profile/waldbach)) - was loading SVG Support JS before jQuery.
113
+
114
  = 2.1.5 =
115
 
116
+ * Added Serbian translation, submitted by Ogi Djuraskovic.
117
 
118
  = 2.1.4 =
119
 
153
 
154
  == Upgrade Notice ==
155
 
156
+ = 2.1.6 =
157
+
158
+ * Important update! Added missing jQuery dependency in /functions/enqueue.php - was loading SVG Support JS before jQuery.
159
+
160
  = 2.1.5 =
161
 
162
+ * Added Serbian translation, submitted by Ogi Djuraskovic.
163
 
164
  = 2.1.4 =
165
 
175
 
176
  = 2.1.1 =
177
 
178
+ * Update to conditional in JS file.
179
 
180
  = 2.1 =
181
 
svg-support.php CHANGED
@@ -8,7 +8,7 @@ Author URI: http://benbodhi.com
8
  Text Domain: svgsupport
9
  Domain Path: /languages
10
  License: GPL2
11
- Version: 2.1.5
12
  */
13
  /* Copyright 2013 Benbodhi (email : wp@benbodhi.com)
14
 
@@ -29,7 +29,7 @@ Version: 2.1.5
29
  /********************************************
30
  * GLOBAL VARIABLES
31
  ********************************************/
32
- $plugin_version = '2.1.5'; // for use on admin pages
33
  $plugin_file = plugin_basename(__FILE__); // plugin file for reference
34
  define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
35
  $bodhi_svgs_options = get_option('bodhi_svgs_settings'); // retrieve our plugin settings from the options table
8
  Text Domain: svgsupport
9
  Domain Path: /languages
10
  License: GPL2
11
+ Version: 2.1.6
12
  */
13
  /* Copyright 2013 Benbodhi (email : wp@benbodhi.com)
14
 
29
  /********************************************
30
  * GLOBAL VARIABLES
31
  ********************************************/
32
+ $plugin_version = '2.1.6'; // for use on admin pages
33
  $plugin_file = plugin_basename(__FILE__); // plugin file for reference
34
  define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
35
  $bodhi_svgs_options = get_option('bodhi_svgs_settings'); // retrieve our plugin settings from the options table