Version Description
- March 13th, 2015 =
- Fixed issue where custom icons did not render properly due to incorrect classes
Download this release
Release Info
Developer | eherman24 |
Plugin | WP SVG Icons |
Version | 3.1.3 |
Comparing to | |
See all releases |
Code changes from version 3.1.2 to 3.1.3
- includes/class-wp-svg-icons.php +1 -1
- public/partials/wp-svg-icons-shortcodes.php +2 -2
- readme.txt +7 -1
- wp-svg-icons.php +1 -1
includes/class-wp-svg-icons.php
CHANGED
@@ -51,7 +51,7 @@ class WP_SVG_Icons {
|
|
51 |
public function __construct() {
|
52 |
|
53 |
$this->plugin_name = 'wp-svg-icons';
|
54 |
-
$this->version = '3.1.
|
55 |
|
56 |
$this->load_dependencies();
|
57 |
$this->set_locale();
|
51 |
public function __construct() {
|
52 |
|
53 |
$this->plugin_name = 'wp-svg-icons';
|
54 |
+
$this->version = '3.1.3';
|
55 |
|
56 |
$this->load_dependencies();
|
57 |
$this->set_locale();
|
public/partials/wp-svg-icons-shortcodes.php
CHANGED
@@ -47,9 +47,9 @@ function generate_wp_svg_icon( $atts ) {
|
|
47 |
|
48 |
// if the user has set a custom icon
|
49 |
if( !empty( $custom_icon ) ) { // display a custom icon
|
50 |
-
$classes = ' class="wp-svg-custom-' . trim( esc_attr( $custom_icon . ' ' . $class ) ) . '"';
|
51 |
} else { // display our default icon
|
52 |
-
$classes = ' class="wp-svg-' . trim( esc_attr( $icon . ' ' . $class ) ). '"';
|
53 |
}
|
54 |
|
55 |
// create an array to populate with some styles
|
47 |
|
48 |
// if the user has set a custom icon
|
49 |
if( !empty( $custom_icon ) ) { // display a custom icon
|
50 |
+
$classes = ' class="wp-svg-custom-' . trim( esc_attr( $custom_icon . ' ' . $custom_icon . ' ' . $class ) ) . '"';
|
51 |
} else { // display our default icon
|
52 |
+
$classes = ' class="wp-svg-' . trim( esc_attr( $icon . ' ' . $icon . ' ' . $class ) ) . '"';
|
53 |
}
|
54 |
|
55 |
// create an array to populate with some styles
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.evan-herman.com/contact/?contact-reason=I%20want%20to%2
|
|
4 |
Tags: wordpress, icons, evan, herman, icon, set, svg, wp, icomoon, ico, moon, wp, zoom, wp-zoom, wpzoom, broccolidry, metoicons, iconic, plugin, responsive, bootstrap, font, awesome, font awesome, twitter, glyphicons, glyph, web, font, webfont, custom, icons, import, upload, zip, font, icon, svg font icon, fonticon, iconfont, fontello, css3, svg animation, free, genericons, genericon, icon stack, stack, icons stack, menu icons, menu, customizable, customize, customizer, bootstrap, dropdown, navigation, scale, vector, icons
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -127,6 +127,9 @@ If you buy the pro version you will also receive support and updates for one yea
|
|
127 |
|
128 |
== Changelog ==
|
129 |
|
|
|
|
|
|
|
130 |
= 3.1.2 - March 12th, 2015 =
|
131 |
* Fixed incorrect calls to delete_option on plugin uninstall
|
132 |
|
@@ -199,6 +202,9 @@ If you buy the pro version you will also receive support and updates for one yea
|
|
199 |
|
200 |
== Upgrade Notice ==
|
201 |
|
|
|
|
|
|
|
202 |
= 3.1.2 - March 12th, 2015 =
|
203 |
* Fixed incorrect calls to delete_option on plugin uninstall
|
204 |
|
4 |
Tags: wordpress, icons, evan, herman, icon, set, svg, wp, icomoon, ico, moon, wp, zoom, wp-zoom, wpzoom, broccolidry, metoicons, iconic, plugin, responsive, bootstrap, font, awesome, font awesome, twitter, glyphicons, glyph, web, font, webfont, custom, icons, import, upload, zip, font, icon, svg font icon, fonticon, iconfont, fontello, css3, svg animation, free, genericons, genericon, icon stack, stack, icons stack, menu icons, menu, customizable, customize, customizer, bootstrap, dropdown, navigation, scale, vector, icons
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 3.1.3
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
127 |
|
128 |
== Changelog ==
|
129 |
|
130 |
+
= 3.1.3 - March 13th, 2015 =
|
131 |
+
* Fixed issue where custom icons did not render properly due to incorrect classes
|
132 |
+
|
133 |
= 3.1.2 - March 12th, 2015 =
|
134 |
* Fixed incorrect calls to delete_option on plugin uninstall
|
135 |
|
202 |
|
203 |
== Upgrade Notice ==
|
204 |
|
205 |
+
= 3.1.3 - March 13th, 2015 =
|
206 |
+
* Fixed issue where custom icons did not render properly due to incorrect classes
|
207 |
+
|
208 |
= 3.1.2 - March 12th, 2015 =
|
209 |
* Fixed incorrect calls to delete_option on plugin uninstall
|
210 |
|
wp-svg-icons.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Plugin Name: WP SVG Icons
|
9 |
* Plugin URI: http://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
|
10 |
* Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
|
11 |
-
* Version: 3.1.
|
12 |
* Author: EH Dev Shop
|
13 |
* Author URI: http://evan-herman.com
|
14 |
* License: GPL-3.0+
|
8 |
* Plugin Name: WP SVG Icons
|
9 |
* Plugin URI: http://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
|
10 |
* Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
|
11 |
+
* Version: 3.1.3
|
12 |
* Author: EH Dev Shop
|
13 |
* Author URI: http://evan-herman.com
|
14 |
* License: GPL-3.0+
|