Version Description
- Fix: Properly enqueue stylesheets
- Fix: Set FontAwesome 4.0 to off by default
Download this release
Release Info
Developer | pdclark |
Plugin | Menu Social Icons |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- classes/msi-frontend.php +2 -2
- plugin.php +2 -2
- readme.txt +12 -2
classes/msi-frontend.php
CHANGED
@@ -101,7 +101,7 @@ class MSI_Frontend {
|
|
101 |
/**
|
102 |
* @var bool If true, use FontAwesome 4.0+, which drops IE7, but adds Vimeo
|
103 |
*/
|
104 |
-
var $use_latest =
|
105 |
|
106 |
/**
|
107 |
* @var Storm_Menu_Social_Icons Instance of the class.
|
@@ -144,7 +144,7 @@ class MSI_Frontend {
|
|
144 |
$this->hide_text = apply_filters( 'storm_social_icons_hide_text', $this->hide_text );
|
145 |
$this->networks = apply_filters( 'storm_social_icons_networks', $this->networks );
|
146 |
|
147 |
-
add_action( '
|
148 |
add_action( 'wp_print_scripts', array( $this, 'wp_print_scripts' ) );
|
149 |
|
150 |
add_filter( 'wp_nav_menu_objects', array( $this, 'wp_nav_menu_objects' ), 5, 2 );
|
101 |
/**
|
102 |
* @var bool If true, use FontAwesome 4.0+, which drops IE7, but adds Vimeo
|
103 |
*/
|
104 |
+
var $use_latest = false;
|
105 |
|
106 |
/**
|
107 |
* @var Storm_Menu_Social_Icons Instance of the class.
|
144 |
$this->hide_text = apply_filters( 'storm_social_icons_hide_text', $this->hide_text );
|
145 |
$this->networks = apply_filters( 'storm_social_icons_networks', $this->networks );
|
146 |
|
147 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ) );
|
148 |
add_action( 'wp_print_scripts', array( $this, 'wp_print_scripts' ) );
|
149 |
|
150 |
add_filter( 'wp_nav_menu_objects', array( $this, 'wp_nav_menu_objects' ), 5, 2 );
|
plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Menu Social Icons
|
4 |
Description: Change menu links to social sites to icons automatically. Uses <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">FontAwesome</a> and supports: Bitbucket, Dribbble, Dropbox, Flickr, Foursquare, Gittip, Instagram, RenRen, Stack Overflow, Trello, Tumblr, VK, Weibo, Xing, and YouTube.
|
5 |
-
Version: 1.3.
|
6 |
Author: Brainstorm Media
|
7 |
Author URI: http://brainstormmedia.com
|
8 |
*/
|
@@ -30,7 +30,7 @@ Author URI: http://brainstormmedia.com
|
|
30 |
*/
|
31 |
|
32 |
define( 'MSI_PLUGIN_FILE', __FILE__ );
|
33 |
-
define( 'MSI_VERSION', '1.3.
|
34 |
|
35 |
add_action( 'init', 'storm_menu_social_icons_init' );
|
36 |
|
2 |
/*
|
3 |
Plugin Name: Menu Social Icons
|
4 |
Description: Change menu links to social sites to icons automatically. Uses <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">FontAwesome</a> and supports: Bitbucket, Dribbble, Dropbox, Flickr, Foursquare, Gittip, Instagram, RenRen, Stack Overflow, Trello, Tumblr, VK, Weibo, Xing, and YouTube.
|
5 |
+
Version: 1.3.2
|
6 |
Author: Brainstorm Media
|
7 |
Author URI: http://brainstormmedia.com
|
8 |
*/
|
30 |
*/
|
31 |
|
32 |
define( 'MSI_PLUGIN_FILE', __FILE__ );
|
33 |
+
define( 'MSI_VERSION', '1.3.2' );
|
34 |
|
35 |
add_action( 'init', 'storm_menu_social_icons_init' );
|
36 |
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Plugin URI: https://github.com/brainstormmedia/menu-social-icons
|
|
4 |
Author URI: http://brainstormmedia.com
|
5 |
Tags: social, icons, menus, FontAwesome, social media, easy
|
6 |
Requires at least: 3.4
|
7 |
-
Tested up to: 3.
|
8 |
-
Stable tag: 1.3.
|
9 |
License: GPLv2
|
10 |
|
11 |
Add social icons to your WordPress menu items automatically.
|
@@ -123,6 +123,10 @@ We load FontAwesome onto your site using NetDNA's [Bootstrap CDN](http://www.boo
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
|
|
|
|
126 |
= 1.3 =
|
127 |
* New: Preview icons and shortcuts in the WordPress Menu Editor.
|
128 |
* New: vimeo.com and stackexchange.com icons when FontAwesome 4.0 is turned on.
|
@@ -142,7 +146,13 @@ We load FontAwesome onto your site using NetDNA's [Bootstrap CDN](http://www.boo
|
|
142 |
|
143 |
== Upgrade Notice ==
|
144 |
|
|
|
|
|
|
|
|
|
|
|
145 |
**1.3**
|
|
|
146 |
* New: Preview icons and shortcuts in the WordPress Menu Editor.
|
147 |
* New: vimeo.com and stackexchange.com icons when FontAwesome 4.0 is turned on.
|
148 |
* Notice: FontAwesome 4.0 removes support for IE7, so it is off by default. Use the filter `storm_social_icons_use_latest` shown in the readme to turn on FontAwesome 4.0.
|
4 |
Author URI: http://brainstormmedia.com
|
5 |
Tags: social, icons, menus, FontAwesome, social media, easy
|
6 |
Requires at least: 3.4
|
7 |
+
Tested up to: 3.7
|
8 |
+
Stable tag: 1.3.2
|
9 |
License: GPLv2
|
10 |
|
11 |
Add social icons to your WordPress menu items automatically.
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.3.2 =
|
127 |
+
* Fix: Properly enqueue stylesheets
|
128 |
+
* Fix: Set FontAwesome 4.0 to off by default
|
129 |
+
|
130 |
= 1.3 =
|
131 |
* New: Preview icons and shortcuts in the WordPress Menu Editor.
|
132 |
* New: vimeo.com and stackexchange.com icons when FontAwesome 4.0 is turned on.
|
146 |
|
147 |
== Upgrade Notice ==
|
148 |
|
149 |
+
**1.3.2**
|
150 |
+
|
151 |
+
* Fix: Properly enqueue stylesheets
|
152 |
+
* Fix: Set FontAwesome 4.0 to off by default
|
153 |
+
|
154 |
**1.3**
|
155 |
+
|
156 |
* New: Preview icons and shortcuts in the WordPress Menu Editor.
|
157 |
* New: vimeo.com and stackexchange.com icons when FontAwesome 4.0 is turned on.
|
158 |
* Notice: FontAwesome 4.0 removes support for IE7, so it is off by default. Use the filter `storm_social_icons_use_latest` shown in the readme to turn on FontAwesome 4.0.
|