Menu Social Icons - Version 1.3.4

Version Description

  • Fix: Work around compatibility issue with Better WordPress Minify plugin.
Download this release

Release Info

Developer pdclark
Plugin Icon Menu Social Icons
Version 1.3.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.3.4

Files changed (3) hide show
  1. classes/msi-bwp-compatibility.php +12 -0
  2. plugin.php +6 -2
  3. readme.txt +7 -3
classes/msi-bwp-compatibility.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Better WordPress Minify fails to recognize URLs starting with "//"
4
+ * Force BWP to ignore NetDNA-hosted fontawesome scripts.
5
+ *
6
+ * @see http://wordpress.org/plugins/bwp-minify/
7
+ */
8
+ function msi_bwp_dont_minify_fontawesome($excluded) {
9
+ $excluded = array('fontawesome', 'fontawesome-ie');
10
+ return $excluded;
11
+ }
12
+ add_filter('bwp_minify_style_ignore', 'msi_bwp_dont_minify_fontawesome');
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.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.3' );
34
 
35
  add_action( 'init', 'storm_menu_social_icons_init' );
36
 
@@ -54,6 +54,10 @@ function storm_menu_social_icons_init() {
54
 
55
  require_once dirname ( __FILE__ ) . '/classes/msi-frontend.php';
56
  require_once dirname ( __FILE__ ) . '/classes/msi-admin.php';
 
 
 
 
57
 
58
  // Frontend actions
59
  // WP E-Commerce blocks other template_redirect actions by exiting at priority 10.
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.4
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.4' );
34
 
35
  add_action( 'init', 'storm_menu_social_icons_init' );
36
 
54
 
55
  require_once dirname ( __FILE__ ) . '/classes/msi-frontend.php';
56
  require_once dirname ( __FILE__ ) . '/classes/msi-admin.php';
57
+
58
+ if ( class_exists( 'BWP_MINIFY' ) ) {
59
+ require_once dirname ( __FILE__ ) . '/classes/msi-bwp-compatibility.php';
60
+ }
61
 
62
  // Frontend actions
63
  // WP E-Commerce blocks other template_redirect actions by exiting at priority 10.
readme.txt CHANGED
@@ -5,8 +5,9 @@ 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.1
8
- Stable tag: 1.3.3
9
  License: GPLv2
 
10
 
11
  Add social icons to your WordPress menu items automatically.
12
 
@@ -123,6 +124,9 @@ We load FontAwesome onto your site using NetDNA's [Bootstrap CDN](http://www.boo
123
 
124
  == Changelog ==
125
 
 
 
 
126
  = 1.3.3 =
127
  * Fix: Work around bug in WP E-commerce that causes other plugins to not load properly on product pages. Thanks [@elfary](http://wordpress.org/support/topic/menu-with-e-commerce). See [bug report to WP E-commerce](http://wordpress.org/support/topic/other-plugins-blocked-from-loading-on-product-pages).
128
 
@@ -149,6 +153,6 @@ We load FontAwesome onto your site using NetDNA's [Bootstrap CDN](http://www.boo
149
 
150
  == Upgrade Notice ==
151
 
152
- **1.3.3**
153
 
154
- * Fix: Work around bug in WP E-commerce that causes other plugins to not load properly on product pages. Thanks [@elfary](http://wordpress.org/support/topic/menu-with-e-commerce). See [bug report to WP E-commerce](http://wordpress.org/support/topic/other-plugins-blocked-from-loading-on-product-pages).
5
  Tags: social, icons, menus, FontAwesome, social media, easy
6
  Requires at least: 3.4
7
  Tested up to: 3.7.1
8
+ Stable tag: 1.3.4
9
  License: GPLv2
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
  Add social icons to your WordPress menu items automatically.
13
 
124
 
125
  == Changelog ==
126
 
127
+ = 1.3.4 =
128
+ * Fix: Work around compatibility issue with [Better WordPress Minify](http://wordpress.org/plugins/bwp-minify/) plugin.
129
+
130
  = 1.3.3 =
131
  * Fix: Work around bug in WP E-commerce that causes other plugins to not load properly on product pages. Thanks [@elfary](http://wordpress.org/support/topic/menu-with-e-commerce). See [bug report to WP E-commerce](http://wordpress.org/support/topic/other-plugins-blocked-from-loading-on-product-pages).
132
 
153
 
154
  == Upgrade Notice ==
155
 
156
+ = 1.3.4 =
157
 
158
+ * Fix: Work around compatibility issue with [Better WordPress Minify](http://wordpress.org/plugins/bwp-minify/) plugin.