Skip to content

Commit 715319d

Browse files
committed
Merge branch 'release-1.2.6'
2 parents 80a616e + 20990ea commit 715319d

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

readme.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Donate link: http://codest.ag/st-donate
55
Tags: widget, icons, retina, shortcodes, themeforest, font-icons, fontawesome, sidebar, social, social media, maps, flickr, instagram, custom post type, codestag, mauryaratan, twitter
66
Requires at least: 3.5
77
Tested up to: 4.0
8-
Stable tag: 1.2.5
8+
Stable tag: 1.2.6
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -93,6 +93,9 @@ Yes you can! Join me on [Github Repository](https://github.com/mauryaratan/stagt
9393

9494
== Changelog ==
9595

96+
= 1.2.6 - June 23, 2014 =
97+
* Fix - Issue with buttons shortcode generator when no link provided
98+
9699
= 1.2.5 - June 18, 2014 =
97100
* Fix - Twitter widget option storage, works flawlessly
98101
* Fix - Instagram widget image size styles
@@ -197,6 +200,10 @@ Yes you can! Join me on [Github Repository](https://github.com/mauryaratan/stagt
197200
* Initial Release
198201

199202
== Upgrade Notice ==
203+
204+
= 1.2.6 =
205+
Fixes an issue with buttons shortcodes not showing icons in some cases.
206+
200207
= 1.2.5 =
201208
Includes fixes and improvements for Twitter and Instagram widget.
202209

shortcodes/shortcodes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function stag_icon( $atts, $content = null ) {
385385
if( $url != '' ){
386386
$output .= '<a class="stag-icon-link" '. $a_attrs .'><i class="fa fa-'. $icon .'" style="font-size: '. $size .'; line-height: '. $size .';"></i></a>';
387387
}else{
388-
$output .= '<i class="stag-icon icon-'. esc_attr($icon) .'" '. $attrs .'></i>';
388+
$output .= '<i class="fa fa-'. esc_attr($icon) .'" '. $attrs .'></i>';
389389
}
390390

391391
return $output;

stagtools.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: StagTools
44
* Plugin URI: https://wordpress.org/plugins/stagtools/
55
* Description: A poweful plugin to extend functionality to your WordPress themes offering shortcodes, font icons and useful widgets.
6-
* Version: 1.2.5
6+
* Version: 1.2.6
77
* Author: Ram Ratan Maurya
88
* Author URI: http://mauryaratan.me
99
* License: GPL2
@@ -22,7 +22,7 @@
2222
* Main StagTools Class
2323
*
2424
* @package StagTools
25-
* @version 1.2.5
25+
* @version 1.2.6
2626
* @author Ram Ratan Maurya (Codestag)
2727
* @link http://mauryaratan.me
2828
* @link http://codestag.com
@@ -33,7 +33,7 @@ class StagTools {
3333
/**
3434
* @var string
3535
*/
36-
public $version = '1.2.5';
36+
public $version = '1.2.6';
3737

3838
/**
3939
* @var string

0 commit comments

Comments
 (0)