SVG Support - Version 2.3.9

Version Description

  • Modified plugin action meta link for settings page.
  • Changed some language throughout the plugin.
  • Added recommendation for ShortPixel Image Optimization.
  • Added conditional to check post type supports thumbnail before setting meta data.
Download this release

Release Info

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

Code changes from version 2.3.8 to 2.3.9

admin/admin-init.php CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  function bodhi_svgs_admin_menu() {
13
 
14
  add_options_page(
15
- __('SVG Support Options and Instructions', 'svg-support'),
16
  __('SVG Support', 'svg-support'),
17
  'manage_options',
18
  'svg-support',
@@ -159,4 +159,4 @@ function bodhi_svgs_admin_footer_text( $default ) {
159
  }
160
 
161
  }
162
- add_filter( 'admin_footer_text', 'bodhi_svgs_admin_footer_text' );
12
  function bodhi_svgs_admin_menu() {
13
 
14
  add_options_page(
15
+ __('SVG Support Settings and Usage', 'svg-support'),
16
  __('SVG Support', 'svg-support'),
17
  'manage_options',
18
  'svg-support',
159
  }
160
 
161
  }
162
+ add_filter( 'admin_footer_text', 'bodhi_svgs_admin_footer_text' );
admin/admin-notice.php CHANGED
@@ -51,4 +51,4 @@ function bodhi_svgs_deactivated() {
51
  delete_option( 'bodhi_svgs_admin_notice_dismissed' );
52
  }
53
  register_deactivation_hook( BODHI_SVGS_PLUGIN_PATH . '/svg-support.php', 'bodhi_svgs_deactivated' );
54
- register_uninstall_hook( BODHI_SVGS_PLUGIN_PATH . '/svg-support.php', 'bodhi_svgs_deactivated' );
51
  delete_option( 'bodhi_svgs_admin_notice_dismissed' );
52
  }
53
  register_deactivation_hook( BODHI_SVGS_PLUGIN_PATH . '/svg-support.php', 'bodhi_svgs_deactivated' );
54
+ register_uninstall_hook( BODHI_SVGS_PLUGIN_PATH . '/svg-support.php', 'bodhi_svgs_deactivated' );
admin/img/shortpixel.png ADDED
Binary file
admin/plugin-action-meta-links.php CHANGED
@@ -11,7 +11,12 @@ if ( ! defined( 'ABSPATH' ) ) {
11
  */
12
  function bodhi_svgs_plugin_action_links( $links ) {
13
 
14
- $links[] = '<a href="'. get_admin_url( null, 'options-general.php?page=svg-support' ) .'">Settings</a>';
 
 
 
 
 
15
 
16
  return $links;
17
 
@@ -38,4 +43,4 @@ function bodhi_svgs_plugin_meta_links( $links, $file ) {
38
  return $links;
39
 
40
  }
41
- add_filter( 'plugin_row_meta', 'bodhi_svgs_plugin_meta_links', 10, 2 );
11
  */
12
  function bodhi_svgs_plugin_action_links( $links ) {
13
 
14
+ return array_merge(
15
+
16
+ array(
17
+ '<a href="' . admin_url( 'options-general.php?page=svg-support' ) . '" title="' . __( 'SVG Support Settings', 'svg-support' ) . '">' . __( 'Settings', 'svg-support') . '</a>'
18
+ ), $links
19
+ );
20
 
21
  return $links;
22
 
43
  return $links;
44
 
45
  }
46
+ add_filter( 'plugin_row_meta', 'bodhi_svgs_plugin_meta_links', 10, 2 );
admin/svgs-settings-page.php CHANGED
@@ -64,6 +64,7 @@
64
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Restricts SVG upload priveledges to Administrators.', 'svg-support' ); ?></small>
65
  </td>
66
  </tr>
 
67
  <tr valign="top" class="svgs-advanced">
68
  <!-- Allow choice of js in footer true or false -->
69
  <th scope="row">
@@ -75,6 +76,7 @@
75
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Normally, scripts are placed in <code>head</code> of the HTML document. If this parameter is true, the script is placed before the closing <code>body</code> tag. This requires the theme to have the <code>wp_footer()</code> template tag in the appropriate place.', 'svg-support' ); ?></small>
76
  </td>
77
  </tr>
 
78
  <tr valign="top" class="svgs-advanced">
79
  <!-- Automatically insert class to target in images when inserting into posts/pages -->
80
  <th scope="row">
@@ -86,6 +88,7 @@
86
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Checking this will make sure that either the default class or the custom one you set below is inserted into the style attributes of <code>img</code> tags when you insert SVG images. Additionally, it will remove all of the default WordPress classes. It will leave normal image types as default and only affect SVG files.', 'svg-support' ); ?></small>
87
  </td>
88
  </tr>
 
89
  <tr valign="top" class="svgs-advanced">
90
  <!-- Custom CSS target field so users can set their own class to target -->
91
  <th scope="row">
@@ -148,6 +151,16 @@
148
 
149
  </div> <!-- .postbox -->
150
 
 
 
 
 
 
 
 
 
 
 
151
  </div> <!-- .meta-box-sortables .ui-sortable -->
152
 
153
  </div> <!-- post-body-content -->
@@ -158,18 +171,15 @@
158
  <div class="meta-box-sortables">
159
 
160
  <div class="postbox">
161
-
162
  <h3><span><?php _e( 'Ratings & Reviews', 'svg-support' ); ?></span></h3>
163
  <div class="inside">
164
  <p><?php _e( 'If you like <strong>SVG Support</strong> please consider leaving a', 'svg-support' ); ?> <a href="https://wordpress.org/support/view/plugin-reviews/svg-support?filter=5#postform" target="_blank" class="svgs-rating-link">&#9733;&#9733;&#9733;&#9733;&#9733;</a> <?php _e( 'rating.', 'svg-support' ); ?><br><?php _e( 'A huge thanks in advance!', 'svg-support' ); ?></p>
165
  <p><a href="https://wordpress.org/support/view/plugin-reviews/svg-support?filter=5#postform" target="_blank" class="button-primary">Leave a rating</a></p>
166
  </div> <!-- .inside -->
167
-
168
  </div> <!-- .postbox -->
169
 
170
  <div class="postbox">
171
-
172
- <h3><span><?php _e( 'Plugin Features', 'svg-support' ); ?></span></h3>
173
  <div class="inside">
174
  <ul>
175
  <li><strong><?php _e( 'Basic Use', 'svg-support' ); ?></strong></li>
@@ -184,11 +194,9 @@
184
  <li><?php _e( 'Inline SVG featured image support', 'svg-support' ); ?></li>
185
  </ul>
186
  </div> <!-- .inside -->
187
-
188
  </div> <!-- .postbox -->
189
 
190
  <div class="postbox">
191
-
192
  <h3><span><?php _e( 'About The Plugin', 'svg-support' ); ?></span></h3>
193
  <div class="inside">
194
  <p><?php _e( 'You can read about this plugin in detail on', 'svg-support' ); ?> <a target="_blank" href="http://wordpress.org/plugins/svg-support/"><?php _e( 'The WordPress Plugin Repository', 'svg-support' ); ?></a>.</p>
@@ -196,16 +204,13 @@
196
  <p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z9R7JERS82EQQ"><?php _e( 'Donate to author &rarr;', 'svg-support' ); ?></a>
197
  <p>&copy; <a target="_blank" href="http://benbodhi.com">Benbodhi</a> <?php _e( 'from', 'svg-support' ); ?> <a target="_blank" href="http://gowebben.com">GoWebben</a>.
198
  </div> <!-- .inside -->
199
-
200
  </div> <!-- .postbox -->
201
 
202
  <div class="postbox">
203
-
204
  <h3><span><?php _e( 'GoWebben Hosting', 'svg-support' ); ?></span></h3>
205
  <div class="inside">
206
  <p><a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=svg-support"><?php _e( 'Claim your FREE $25 credit from', 'svg-support' ); ?> GoWebben</a> - <?php _e( 'No catch, just free credit for using this plugin! It will be applied automatically using the link provided, but in any case you can simply use code: SVGSUPPORT during checkout.', 'svg-support' ); ?></p>
207
  </div> <!-- .inside -->
208
-
209
  </div> <!-- .postbox -->
210
 
211
  </div> <!-- .meta-box-sortables -->
@@ -217,4 +222,4 @@
217
  <br class="clear">
218
  </div> <!-- #poststuff -->
219
 
220
- </div> <!-- .wrap -->
64
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Restricts SVG upload priveledges to Administrators.', 'svg-support' ); ?></small>
65
  </td>
66
  </tr>
67
+
68
  <tr valign="top" class="svgs-advanced">
69
  <!-- Allow choice of js in footer true or false -->
70
  <th scope="row">
76
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Normally, scripts are placed in <code>head</code> of the HTML document. If this parameter is true, the script is placed before the closing <code>body</code> tag. This requires the theme to have the <code>wp_footer()</code> template tag in the appropriate place.', 'svg-support' ); ?></small>
77
  </td>
78
  </tr>
79
+
80
  <tr valign="top" class="svgs-advanced">
81
  <!-- Automatically insert class to target in images when inserting into posts/pages -->
82
  <th scope="row">
88
  <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Checking this will make sure that either the default class or the custom one you set below is inserted into the style attributes of <code>img</code> tags when you insert SVG images. Additionally, it will remove all of the default WordPress classes. It will leave normal image types as default and only affect SVG files.', 'svg-support' ); ?></small>
89
  </td>
90
  </tr>
91
+
92
  <tr valign="top" class="svgs-advanced">
93
  <!-- Custom CSS target field so users can set their own class to target -->
94
  <th scope="row">
151
 
152
  </div> <!-- .postbox -->
153
 
154
+ <div class="postbox">
155
+ <h3><span><?php _e( 'Compress and Optimize Images with ShortPixel', 'svg-support' ); ?></span></h3>
156
+ <div class="inside">
157
+ <?php echo '<a target="_blank" class="shortpixel-logo" href="#"><img src="' . BODHI_SVGS_PLUGIN_URL . '/admin/img/shortpixel.png" /></a>'; ?>
158
+ <p><?php _e( 'Now that you\'ve set up SVG Support on your site, it\'s time to look at optimizing your existing images (jpg & png).', 'svg-support' ); ?></p>
159
+ <p><?php _e( 'ShortPixel improves website performance by reducing the size of your images. The results are no different in quality from the original, plus your originals are stored in a backup folder for you.', 'svg-support' ); ?></p>
160
+ <p><a class="shortpixel-button button-primary" href="#"><?php _e( 'Try ShortPixel WordPress Plugin for FREE', 'svg-support' ); ?></a></p>
161
+ </div> <!-- .inside -->
162
+ </div> <!-- .postbox -->
163
+
164
  </div> <!-- .meta-box-sortables .ui-sortable -->
165
 
166
  </div> <!-- post-body-content -->
171
  <div class="meta-box-sortables">
172
 
173
  <div class="postbox">
 
174
  <h3><span><?php _e( 'Ratings & Reviews', 'svg-support' ); ?></span></h3>
175
  <div class="inside">
176
  <p><?php _e( 'If you like <strong>SVG Support</strong> please consider leaving a', 'svg-support' ); ?> <a href="https://wordpress.org/support/view/plugin-reviews/svg-support?filter=5#postform" target="_blank" class="svgs-rating-link">&#9733;&#9733;&#9733;&#9733;&#9733;</a> <?php _e( 'rating.', 'svg-support' ); ?><br><?php _e( 'A huge thanks in advance!', 'svg-support' ); ?></p>
177
  <p><a href="https://wordpress.org/support/view/plugin-reviews/svg-support?filter=5#postform" target="_blank" class="button-primary">Leave a rating</a></p>
178
  </div> <!-- .inside -->
 
179
  </div> <!-- .postbox -->
180
 
181
  <div class="postbox">
182
+ <h3><span><?php _e( 'SVG Support Features', 'svg-support' ); ?></span></h3>
 
183
  <div class="inside">
184
  <ul>
185
  <li><strong><?php _e( 'Basic Use', 'svg-support' ); ?></strong></li>
194
  <li><?php _e( 'Inline SVG featured image support', 'svg-support' ); ?></li>
195
  </ul>
196
  </div> <!-- .inside -->
 
197
  </div> <!-- .postbox -->
198
 
199
  <div class="postbox">
 
200
  <h3><span><?php _e( 'About The Plugin', 'svg-support' ); ?></span></h3>
201
  <div class="inside">
202
  <p><?php _e( 'You can read about this plugin in detail on', 'svg-support' ); ?> <a target="_blank" href="http://wordpress.org/plugins/svg-support/"><?php _e( 'The WordPress Plugin Repository', 'svg-support' ); ?></a>.</p>
204
  <p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z9R7JERS82EQQ"><?php _e( 'Donate to author &rarr;', 'svg-support' ); ?></a>
205
  <p>&copy; <a target="_blank" href="http://benbodhi.com">Benbodhi</a> <?php _e( 'from', 'svg-support' ); ?> <a target="_blank" href="http://gowebben.com">GoWebben</a>.
206
  </div> <!-- .inside -->
 
207
  </div> <!-- .postbox -->
208
 
209
  <div class="postbox">
 
210
  <h3><span><?php _e( 'GoWebben Hosting', 'svg-support' ); ?></span></h3>
211
  <div class="inside">
212
  <p><a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=svg-support"><?php _e( 'Claim your FREE $25 credit from', 'svg-support' ); ?> GoWebben</a> - <?php _e( 'No catch, just free credit for using this plugin! It will be applied automatically using the link provided, but in any case you can simply use code: SVGSUPPORT during checkout.', 'svg-support' ); ?></p>
213
  </div> <!-- .inside -->
 
214
  </div> <!-- .postbox -->
215
 
216
  </div> <!-- .meta-box-sortables -->
222
  <br class="clear">
223
  </div> <!-- #poststuff -->
224
 
225
+ </div> <!-- .wrap -->
config.codekit3 CHANGED
@@ -21,6 +21,17 @@
21
  "oAP": "\/admin\/admin-notice.php",
22
  "oF": 0
23
  },
 
 
 
 
 
 
 
 
 
 
 
24
  "\/admin\/plugin-action-meta-links.php": {
25
  "ft": 8192,
26
  "oA": 2,
21
  "oAP": "\/admin\/admin-notice.php",
22
  "oF": 0
23
  },
24
+ "\/admin\/img\/shortpixel.png": {
25
+ "ft": 32768,
26
+ "iS": 3373,
27
+ "oA": 0,
28
+ "oAP": "\/admin\/img\/shortpixel.png",
29
+ "oF": 0,
30
+ "oIPL": 0,
31
+ "opt": 0,
32
+ "oT": 1,
33
+ "q": 100
34
+ },
35
  "\/admin\/plugin-action-meta-links.php": {
36
  "ft": 8192,
37
  "oA": 2,
css/svgs-admin.css CHANGED
@@ -1 +1 @@
1
- .svgs-version{font-size:10px;margin-left:7px}.postbox .inside a{text-decoration:none}h3{padding:0 12px}table.media .column-title .media-icon img{width:60px}
1
+ .svgs-version{font-size:10px;margin-left:7px}.postbox .inside a{text-decoration:none}h3{padding:0 12px}.shortpixel-logo img{position:absolute;right:10px;bottom:0;width:140px}table.media .column-title .media-icon img{width:60px}
functions/attachment-modal.php CHANGED
@@ -53,4 +53,4 @@ function bodhi_svgs_get_dimensions( $svg ) {
53
 
54
  return (object) array( 'width' => $width, 'height' => $height );
55
 
56
- }
53
 
54
  return (object) array( 'width' => $width, 'height' => $height );
55
 
56
+ }
functions/enqueue.php CHANGED
@@ -82,4 +82,4 @@ function bodhi_svgs_inline() {
82
  }
83
 
84
  }
85
- add_action( 'wp_enqueue_scripts', 'bodhi_svgs_inline' );
82
  }
83
 
84
  }
85
+ add_action( 'wp_enqueue_scripts', 'bodhi_svgs_inline' );
functions/featured-image.php CHANGED
@@ -48,8 +48,13 @@ function bodhi_svgs_save_featured_image_meta( $post_id, $post, $update ) {
48
  $value = 1;
49
  }
50
 
51
- // set meta value to either 1 or 0
52
- update_post_meta( $post_id, 'inline_featured_image', $value );
 
 
 
 
 
53
 
54
  }
55
  add_action( 'save_post', 'bodhi_svgs_save_featured_image_meta', 10, 3 );
48
  $value = 1;
49
  }
50
 
51
+ // Check if post type supports 'thumbnail' (Featured Image)
52
+ if ( post_type_supports( get_post_type( $post_id ), 'thumbnail' ) ) {
53
+
54
+ // set meta value to either 1 or 0
55
+ update_post_meta( $post_id, 'inline_featured_image', $value );
56
+
57
+ }
58
 
59
  }
60
  add_action( 'save_post', 'bodhi_svgs_save_featured_image_meta', 10, 3 );
functions/mime-types.php CHANGED
@@ -54,4 +54,4 @@ function bodhi_svgs_disable_real_mime_check( $data, $file, $filename, $mimes ) {
54
 
55
  return compact( 'ext', 'type', 'proper_filename' );
56
 
57
- }
54
 
55
  return compact( 'ext', 'type', 'proper_filename' );
56
 
57
+ }
js/min/svgs-admin-notice-update-min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function($){function i(){jQuery.ajax({url:ajaxurl,data:{action:"bodhi_svgs_dismiss_admin_notice"}})}$(".svgs-upgrade-notice .notice-dismiss").click(i)});
1
+ jQuery(document).ready(function($){function i(){jQuery.ajax({url:ajaxurl,data:{action:"bodhi_svgs_dismiss_admin_notice"}})}$(".svgs-upgrade-notice .notice-dismiss").click(i)});
js/min/svgs-inline-min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function($){String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var r=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>r.length)&&(e=r.length),e-=t.length;var n=r.lastIndexOf(t,e);return n!==-1&&n===e}),String.prototype.endsWith=function(t){var e=this.length-t.length;return e>=0&&this.lastIndexOf(t)===e},$("img."!==cssTarget?cssTarget:"img.style-svg").each(function(t){var e=jQuery(this),r=e.attr("id"),n=e.attr("class"),i=e.attr("src");i.endsWith("svg")&&$.get(i,function(i){var s=$(i).find("svg"),a=s.attr("id");void 0===r?void 0===a?(r="svg-replaced-"+t,s=s.attr("id",r)):r=a:s=s.attr("id",r),void 0!==n&&(s=s.attr("class",n+" replaced-svg svg-replaced-"+t)),s=s.removeAttr("xmlns:a"),e.replaceWith(s),$(document).trigger("svg.loaded",[r])},"xml")})});
1
+ jQuery(document).ready(function($){String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var r=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>r.length)&&(e=r.length),e-=t.length;var n=r.lastIndexOf(t,e);return n!==-1&&n===e}),String.prototype.endsWith=function(t){var e=this.length-t.length;return e>=0&&this.lastIndexOf(t)===e},$("img."!==cssTarget?cssTarget:"img.style-svg").each(function(t){var e=jQuery(this),r=e.attr("id"),n=e.attr("class"),i=e.attr("src");i.endsWith("svg")&&$.get(i,function(i){var s=$(i).find("svg"),a=s.attr("id");void 0===r?void 0===a?(r="svg-replaced-"+t,s=s.attr("id",r)):r=a:s=s.attr("id",r),void 0!==n&&(s=s.attr("class",n+" replaced-svg svg-replaced-"+t)),s=s.removeAttr("xmlns:a"),e.replaceWith(s),$(document).trigger("svg.loaded",[r])},"xml")})});
js/svgs-admin-notice-update.js CHANGED
@@ -13,4 +13,4 @@ jQuery(document).ready(function ($) {
13
 
14
  $('.svgs-upgrade-notice .notice-dismiss').click(svgsDismissNotice);
15
 
16
- });
13
 
14
  $('.svgs-upgrade-notice .notice-dismiss').click(svgsDismissNotice);
15
 
16
+ });
js/svgs-inline.js CHANGED
@@ -69,4 +69,4 @@ jQuery(document).ready(function ($) {
69
  }, 'xml');
70
  });
71
 
72
- });
69
  }, 'xml');
70
  });
71
 
72
+ });
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === SVG Support ===
2
  Contributors: Benbodhi
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z9R7JERS82EQQ
4
- Tags: svg, vector, css, style, mime, mime type, embed, img, inline, animation, animate
5
  Requires at least: 4.0
6
- Tested up to: 4.8-alpha-40609
7
- Stable tag: 2.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -163,6 +163,13 @@ or
163
 
164
  == Changelog ==
165
 
 
 
 
 
 
 
 
166
  = 2.3.8 =
167
 
168
  * Added some CSS to make sure featured images show on WooCommerce products, Sensei Courses and Lessons.
@@ -316,6 +323,10 @@ or
316
 
317
  == Upgrade Notice ==
318
 
 
 
 
 
319
  = 2.3.8 =
320
 
321
  * Adds better support for WooCommerce and Sensei. Fixes issue with featured images not showing up when auto insert class setting is on.
1
  === SVG Support ===
2
  Contributors: Benbodhi
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z9R7JERS82EQQ
4
+ Tags: svg, vector, css, style, mime, mime type, embed, img, inline, animation, animate, js
5
  Requires at least: 4.0
6
+ Tested up to: 4.8
7
+ Stable tag: 2.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
163
 
164
  == Changelog ==
165
 
166
+ = 2.3.9 =
167
+
168
+ * Modified plugin action meta link for settings page.
169
+ * Changed some language throughout the plugin.
170
+ * Added recommendation for ShortPixel Image Optimization.
171
+ * Added conditional to check post type supports thumbnail before setting meta data.
172
+
173
  = 2.3.8 =
174
 
175
  * Added some CSS to make sure featured images show on WooCommerce products, Sensei Courses and Lessons.
323
 
324
  == Upgrade Notice ==
325
 
326
+ = 2.3.9 =
327
+
328
+ * Cleaned up some code and language, now stores less meta when not needed and added a plugin recommendation for Image Optimization.
329
+
330
  = 2.3.8 =
331
 
332
  * Adds better support for WooCommerce and Sensei. Fixes issue with featured images not showing up when auto insert class setting is on.
scss/svgs-admin.scss CHANGED
@@ -11,6 +11,12 @@
11
  h3 {
12
  padding: 0 12px;
13
  }
 
 
 
 
 
 
14
 
15
  /**
16
  * Media Library
11
  h3 {
12
  padding: 0 12px;
13
  }
14
+ .shortpixel-logo img {
15
+ position: absolute;
16
+ right: 10px;
17
+ bottom: 0;
18
+ width: 140px;
19
+ }
20
 
21
  /**
22
  * Media Library
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.8
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.8'; // 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
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.9
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.9'; // 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