Better Font Awesome - Version 0.9.6

Version Description

  • Fixed missing icon previews in WordPress 3.8 and below.
Download this release

Release Info

Developer McGuive7
Plugin Icon 128x128 Better Font Awesome
Version 0.9.6
Comparing to
See all releases

Code changes from version 0.9.5 to 0.9.6

better-font-awesome.php CHANGED
@@ -3,8 +3,8 @@
3
  * Plugin Name: Better Font Awesome
4
  * Plugin URI: http://wordpress.org/plugins/better-font-awesome
5
  * Description: The ultimate Font Awesome icon plugin for Wordpress.
6
- * Version: 0.9.5
7
- * Author: Mickey Kay
8
  * Author URI: mickey@mickeykaycreative.com
9
  * License: GPLv2+
10
  * Text Domain: bfa
@@ -157,12 +157,9 @@ class BetterFontAwesome {
157
  */
158
  function get_icons() {
159
  // Get Font Awesome CSS
160
- if( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == "on" )
161
- $protocol = 'https:';
162
- else
163
- $protocol = 'http:';
164
 
165
- $remote_data = wp_remote_get( $protocol . $this->stylesheet_url );
166
  $css = wp_remote_retrieve_body( $remote_data );
167
 
168
  // Get all CSS selectors that have a content: pseudo-element rule
3
  * Plugin Name: Better Font Awesome
4
  * Plugin URI: http://wordpress.org/plugins/better-font-awesome
5
  * Description: The ultimate Font Awesome icon plugin for Wordpress.
6
+ * Version: 0.9.6
7
+ * Author: MIGHTYminnow
8
  * Author URI: mickey@mickeykaycreative.com
9
  * License: GPLv2+
10
  * Text Domain: bfa
157
  */
158
  function get_icons() {
159
  // Get Font Awesome CSS
160
+
 
 
 
161
 
162
+ $remote_data = wp_remote_get( '//s' . $this->stylesheet_url );
163
  $css = wp_remote_retrieve_body( $remote_data );
164
 
165
  // Get all CSS selectors that have a content: pseudo-element rule
inc/js/tinymce-icons-old.js CHANGED
@@ -5,7 +5,7 @@
5
  var prefix = bfa_vars.fa_prefix;
6
 
7
  var icon_i = function(id) {
8
- return '<i class="fa ' + prefix + 'fw ' + prefix + id + '"></i>';
9
  }
10
 
11
  var icon_shortcode = function(id) {
5
  var prefix = bfa_vars.fa_prefix;
6
 
7
  var icon_i = function(id) {
8
+ return '<i class="fa ' + prefix + '-' + 'fw ' + prefix + '-' + id + '"></i>';
9
  }
10
 
11
  var icon_shortcode = function(id) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: better, font, awesome, icon, bootstrap, fontstrap, cdn, shortcode
4
  Donate link: http://mightyminnow.com
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
- Stable tag: 0.9.5
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -112,6 +112,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 0.9.5 =
116
  * Added ability to choose which CDN to use.
117
  * Added `unprefixed_class` shortcode attribute to allow for unprefixed shortcodes.
@@ -138,6 +141,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
138
 
139
  == Upgrade Notice ==
140
 
 
 
 
141
  = 0.9.5 =
142
  * Added ability to choose which CDN to use.
143
  * Added `unprefixed_class` shortcode attribute to allow for unprefixed shortcodes.
4
  Donate link: http://mightyminnow.com
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
+ Stable tag: 0.9.6
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
112
 
113
  == Changelog ==
114
 
115
+ = 0.9.6 =
116
+ * Fixed missing icon previews in WordPress 3.8 and below.
117
+
118
  = 0.9.5 =
119
  * Added ability to choose which CDN to use.
120
  * Added `unprefixed_class` shortcode attribute to allow for unprefixed shortcodes.
141
 
142
  == Upgrade Notice ==
143
 
144
+ = 0.9.6 =
145
+ * Fixed missing icon previews in WordPress 3.8 and below.
146
+
147
  = 0.9.5 =
148
  * Added ability to choose which CDN to use.
149
  * Added `unprefixed_class` shortcode attribute to allow for unprefixed shortcodes.