Better Font Awesome - Version 1.3.4

Version Description

  • Update Better Font Awesome Library to version 1.3.4.
  • Fix double shortcode insert issue.
  • Fix behavior in which clicking shortcode insert button scrolls to top of page.
  • Update button initialization JS to work when in Text mode in TinyMCE.
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.3.4

better-font-awesome.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Better Font Awesome
13
  * Plugin URI: http://wordpress.org/plugins/better-font-awesome
14
  * Description: The ultimate Font Awesome icon plugin for WordPress.
15
- * Version: 1.3.3
16
  * Author: MIGHTYminnow & Mickey Kay
17
  * Author URI: mickey@mickeykaycreative.com
18
  * License: GPLv2+
12
  * Plugin Name: Better Font Awesome
13
  * Plugin URI: http://wordpress.org/plugins/better-font-awesome
14
  * Description: The ultimate Font Awesome icon plugin for WordPress.
15
+ * Version: 1.3.4
16
  * Author: MIGHTYminnow & Mickey Kay
17
  * Author URI: mickey@mickeykaycreative.com
18
  * License: GPLv2+
js/admin.js CHANGED
@@ -4,7 +4,7 @@
4
  * @since 1.0.10
5
  */
6
  ( function( $ ) {
7
-
8
  'use strict';
9
 
10
  $( document ).ready( function() {
@@ -40,7 +40,7 @@
40
  });
41
  }
42
  );
43
-
44
  });
45
  });
46
  })( jQuery );
4
  * @since 1.0.10
5
  */
6
  ( function( $ ) {
7
+
8
  'use strict';
9
 
10
  $( document ).ready( function() {
40
  });
41
  }
42
  );
43
+
44
  });
45
  });
46
  })( jQuery );
languages/better-font-awesome.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GPLv2+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Better Font Awesome 1.3.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/better-font-awesome\n"
8
- "POT-Creation-Date: 2015-06-20 23:09:00+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -36,6 +36,7 @@ msgstr ""
36
  #: svn/tags/1.3.1/better-font-awesome.php:224
37
  #: svn/tags/1.3.2/better-font-awesome.php:224
38
  #: svn/tags/1.3.3/better-font-awesome.php:224
 
39
  #: svn/trunk/better-font-awesome.php:224
40
  msgid ""
41
  "It appears that Better Font Awesome is missing it's <a "
@@ -72,6 +73,7 @@ msgstr ""
72
  #: svn/tags/1.3.1/better-font-awesome.php:225
73
  #: svn/tags/1.3.2/better-font-awesome.php:225
74
  #: svn/tags/1.3.3/better-font-awesome.php:225
 
75
  #: svn/trunk/better-font-awesome.php:225
76
  msgid "Back to the plugins page &rarr;"
77
  msgstr ""
@@ -83,6 +85,7 @@ msgstr ""
83
  #: svn/tags/1.3.1/better-font-awesome.php:337
84
  #: svn/tags/1.3.2/better-font-awesome.php:337
85
  #: svn/tags/1.3.3/better-font-awesome.php:337
 
86
  #: svn/trunk/better-font-awesome.php:337
87
  msgid "Save Settings"
88
  msgstr ""
@@ -105,6 +108,7 @@ msgstr ""
105
  #: svn/tags/1.3.1/better-font-awesome.php:368
106
  #: svn/tags/1.3.2/better-font-awesome.php:368
107
  #: svn/tags/1.3.3/better-font-awesome.php:368
 
108
  #: svn/trunk/better-font-awesome.php:368
109
  msgid "Version"
110
  msgstr ""
@@ -136,6 +140,7 @@ msgstr ""
136
  #: svn/tags/1.3.1/better-font-awesome.php:377
137
  #: svn/tags/1.3.2/better-font-awesome.php:377
138
  #: svn/tags/1.3.3/better-font-awesome.php:377
 
139
  #: svn/trunk/better-font-awesome.php:377
140
  msgid "Use minified CSS"
141
  msgstr ""
@@ -167,6 +172,7 @@ msgstr ""
167
  #: svn/tags/1.3.1/better-font-awesome.php:383
168
  #: svn/tags/1.3.2/better-font-awesome.php:383
169
  #: svn/tags/1.3.3/better-font-awesome.php:383
 
170
  #: svn/trunk/better-font-awesome.php:383
171
  msgid ""
172
  "Whether to include the minified version of the CSS (checked), or the "
@@ -191,6 +197,7 @@ msgstr ""
191
  #: svn/tags/1.3.1/better-font-awesome.php:389
192
  #: svn/tags/1.3.2/better-font-awesome.php:389
193
  #: svn/tags/1.3.3/better-font-awesome.php:389
 
194
  #: svn/trunk/better-font-awesome.php:389
195
  msgid "Remove existing Font Awesome"
196
  msgstr ""
@@ -213,6 +220,7 @@ msgstr ""
213
  #: svn/tags/1.3.1/better-font-awesome.php:395
214
  #: svn/tags/1.3.2/better-font-awesome.php:395
215
  #: svn/tags/1.3.3/better-font-awesome.php:395
 
216
  #: svn/trunk/better-font-awesome.php:395
217
  msgid ""
218
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
@@ -229,6 +237,7 @@ msgstr ""
229
  #: svn/tags/1.3.1/better-font-awesome.php:401
230
  #: svn/tags/1.3.2/better-font-awesome.php:401
231
  #: svn/tags/1.3.3/better-font-awesome.php:401
 
232
  #: svn/trunk/better-font-awesome.php:401
233
  msgid "Hide admin notices"
234
  msgstr ""
@@ -243,6 +252,7 @@ msgstr ""
243
  #: svn/tags/1.3.1/better-font-awesome.php:407
244
  #: svn/tags/1.3.2/better-font-awesome.php:407
245
  #: svn/tags/1.3.3/better-font-awesome.php:407
 
246
  #: svn/trunk/better-font-awesome.php:407
247
  msgid ""
248
  "Hide the default admin warnings that are shown when API and CDN errors "
@@ -293,6 +303,8 @@ msgstr ""
293
  #: svn/tags/1.3.2/better-font-awesome.php:506
294
  #: svn/tags/1.3.3/better-font-awesome.php:480
295
  #: svn/tags/1.3.3/better-font-awesome.php:506
 
 
296
  #: svn/trunk/better-font-awesome.php:480 svn/trunk/better-font-awesome.php:506
297
  msgid "Always Latest"
298
  msgstr ""
@@ -315,6 +327,7 @@ msgstr ""
315
  #: svn/tags/1.3.1/better-font-awesome.php:540
316
  #: svn/tags/1.3.2/better-font-awesome.php:540
317
  #: svn/tags/1.3.3/better-font-awesome.php:540
 
318
  #: svn/trunk/better-font-awesome.php:540
319
  msgid ""
320
  "Version selection is currently unavailable. The attempt to reach the "
@@ -339,6 +352,7 @@ msgstr ""
339
  #: svn/tags/1.3.1/better-font-awesome.php:547
340
  #: svn/tags/1.3.2/better-font-awesome.php:547
341
  #: svn/tags/1.3.3/better-font-awesome.php:547
 
342
  #: svn/trunk/better-font-awesome.php:547
343
  msgid "Font Awesome will still render using version: %s"
344
  msgstr ""
@@ -381,6 +395,8 @@ msgstr ""
381
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1095
382
  #: svn/tags/1.3.3/better-font-awesome.php:554
383
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1098
 
 
384
  #: svn/trunk/better-font-awesome.php:554
385
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1098
386
  msgid ""
@@ -393,6 +409,7 @@ msgstr ""
393
  #: svn/tags/1.3.1/better-font-awesome.php:601
394
  #: svn/tags/1.3.2/better-font-awesome.php:601
395
  #: svn/tags/1.3.3/better-font-awesome.php:601
 
396
  #: svn/trunk/better-font-awesome.php:601
397
  msgid ""
398
  "<h3>Usage</h3>\n"
@@ -445,6 +462,7 @@ msgstr ""
445
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
446
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
447
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:493
 
448
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:493
449
  msgid "The jsDelivr API servers appear to be temporarily unavailable."
450
  msgstr ""
@@ -454,6 +472,7 @@ msgstr ""
454
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1039
455
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
456
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1042
 
457
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1042
458
  msgid "Insert Icon"
459
  msgstr ""
@@ -477,6 +496,7 @@ msgstr ""
477
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1065
478
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1065
479
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1068
 
480
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1068
481
  msgid "API Error"
482
  msgstr ""
@@ -500,6 +520,7 @@ msgstr ""
500
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1067
501
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1067
502
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1070
 
503
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1070
504
  msgid ""
505
  "The attempt to reach the jsDelivr API server failed with the following "
@@ -525,6 +546,7 @@ msgstr ""
525
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1077
526
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1077
527
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1080
 
528
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1080
529
  msgid "Remote CSS Error"
530
  msgstr ""
@@ -548,6 +570,7 @@ msgstr ""
548
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1079
549
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1079
550
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1082
 
551
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1082
552
  msgid ""
553
  "The attempt to fetch the remote Font Awesome stylesheet failed with the "
@@ -573,6 +596,7 @@ msgstr ""
573
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1089
574
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1089
575
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1092
 
576
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1092
577
  msgid ""
578
  "<b>Don't worry! Better Font Awesome will still render using the included "
@@ -598,6 +622,7 @@ msgstr ""
598
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1093
599
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1093
600
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1096
 
601
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1096
602
  msgid "Solution"
603
  msgstr ""
2
  # This file is distributed under the GPLv2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Better Font Awesome 1.3.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/better-font-awesome\n"
8
+ "POT-Creation-Date: 2015-06-24 00:21:38+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
36
  #: svn/tags/1.3.1/better-font-awesome.php:224
37
  #: svn/tags/1.3.2/better-font-awesome.php:224
38
  #: svn/tags/1.3.3/better-font-awesome.php:224
39
+ #: svn/tags/1.3.4/better-font-awesome.php:224
40
  #: svn/trunk/better-font-awesome.php:224
41
  msgid ""
42
  "It appears that Better Font Awesome is missing it's <a "
73
  #: svn/tags/1.3.1/better-font-awesome.php:225
74
  #: svn/tags/1.3.2/better-font-awesome.php:225
75
  #: svn/tags/1.3.3/better-font-awesome.php:225
76
+ #: svn/tags/1.3.4/better-font-awesome.php:225
77
  #: svn/trunk/better-font-awesome.php:225
78
  msgid "Back to the plugins page &rarr;"
79
  msgstr ""
85
  #: svn/tags/1.3.1/better-font-awesome.php:337
86
  #: svn/tags/1.3.2/better-font-awesome.php:337
87
  #: svn/tags/1.3.3/better-font-awesome.php:337
88
+ #: svn/tags/1.3.4/better-font-awesome.php:337
89
  #: svn/trunk/better-font-awesome.php:337
90
  msgid "Save Settings"
91
  msgstr ""
108
  #: svn/tags/1.3.1/better-font-awesome.php:368
109
  #: svn/tags/1.3.2/better-font-awesome.php:368
110
  #: svn/tags/1.3.3/better-font-awesome.php:368
111
+ #: svn/tags/1.3.4/better-font-awesome.php:368
112
  #: svn/trunk/better-font-awesome.php:368
113
  msgid "Version"
114
  msgstr ""
140
  #: svn/tags/1.3.1/better-font-awesome.php:377
141
  #: svn/tags/1.3.2/better-font-awesome.php:377
142
  #: svn/tags/1.3.3/better-font-awesome.php:377
143
+ #: svn/tags/1.3.4/better-font-awesome.php:377
144
  #: svn/trunk/better-font-awesome.php:377
145
  msgid "Use minified CSS"
146
  msgstr ""
172
  #: svn/tags/1.3.1/better-font-awesome.php:383
173
  #: svn/tags/1.3.2/better-font-awesome.php:383
174
  #: svn/tags/1.3.3/better-font-awesome.php:383
175
+ #: svn/tags/1.3.4/better-font-awesome.php:383
176
  #: svn/trunk/better-font-awesome.php:383
177
  msgid ""
178
  "Whether to include the minified version of the CSS (checked), or the "
197
  #: svn/tags/1.3.1/better-font-awesome.php:389
198
  #: svn/tags/1.3.2/better-font-awesome.php:389
199
  #: svn/tags/1.3.3/better-font-awesome.php:389
200
+ #: svn/tags/1.3.4/better-font-awesome.php:389
201
  #: svn/trunk/better-font-awesome.php:389
202
  msgid "Remove existing Font Awesome"
203
  msgstr ""
220
  #: svn/tags/1.3.1/better-font-awesome.php:395
221
  #: svn/tags/1.3.2/better-font-awesome.php:395
222
  #: svn/tags/1.3.3/better-font-awesome.php:395
223
+ #: svn/tags/1.3.4/better-font-awesome.php:395
224
  #: svn/trunk/better-font-awesome.php:395
225
  msgid ""
226
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
237
  #: svn/tags/1.3.1/better-font-awesome.php:401
238
  #: svn/tags/1.3.2/better-font-awesome.php:401
239
  #: svn/tags/1.3.3/better-font-awesome.php:401
240
+ #: svn/tags/1.3.4/better-font-awesome.php:401
241
  #: svn/trunk/better-font-awesome.php:401
242
  msgid "Hide admin notices"
243
  msgstr ""
252
  #: svn/tags/1.3.1/better-font-awesome.php:407
253
  #: svn/tags/1.3.2/better-font-awesome.php:407
254
  #: svn/tags/1.3.3/better-font-awesome.php:407
255
+ #: svn/tags/1.3.4/better-font-awesome.php:407
256
  #: svn/trunk/better-font-awesome.php:407
257
  msgid ""
258
  "Hide the default admin warnings that are shown when API and CDN errors "
303
  #: svn/tags/1.3.2/better-font-awesome.php:506
304
  #: svn/tags/1.3.3/better-font-awesome.php:480
305
  #: svn/tags/1.3.3/better-font-awesome.php:506
306
+ #: svn/tags/1.3.4/better-font-awesome.php:480
307
+ #: svn/tags/1.3.4/better-font-awesome.php:506
308
  #: svn/trunk/better-font-awesome.php:480 svn/trunk/better-font-awesome.php:506
309
  msgid "Always Latest"
310
  msgstr ""
327
  #: svn/tags/1.3.1/better-font-awesome.php:540
328
  #: svn/tags/1.3.2/better-font-awesome.php:540
329
  #: svn/tags/1.3.3/better-font-awesome.php:540
330
+ #: svn/tags/1.3.4/better-font-awesome.php:540
331
  #: svn/trunk/better-font-awesome.php:540
332
  msgid ""
333
  "Version selection is currently unavailable. The attempt to reach the "
352
  #: svn/tags/1.3.1/better-font-awesome.php:547
353
  #: svn/tags/1.3.2/better-font-awesome.php:547
354
  #: svn/tags/1.3.3/better-font-awesome.php:547
355
+ #: svn/tags/1.3.4/better-font-awesome.php:547
356
  #: svn/trunk/better-font-awesome.php:547
357
  msgid "Font Awesome will still render using version: %s"
358
  msgstr ""
395
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1095
396
  #: svn/tags/1.3.3/better-font-awesome.php:554
397
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1098
398
+ #: svn/tags/1.3.4/better-font-awesome.php:554
399
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1098
400
  #: svn/trunk/better-font-awesome.php:554
401
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1098
402
  msgid ""
409
  #: svn/tags/1.3.1/better-font-awesome.php:601
410
  #: svn/tags/1.3.2/better-font-awesome.php:601
411
  #: svn/tags/1.3.3/better-font-awesome.php:601
412
+ #: svn/tags/1.3.4/better-font-awesome.php:601
413
  #: svn/trunk/better-font-awesome.php:601
414
  msgid ""
415
  "<h3>Usage</h3>\n"
462
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
463
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
464
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:493
465
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:493
466
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:493
467
  msgid "The jsDelivr API servers appear to be temporarily unavailable."
468
  msgstr ""
472
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1039
473
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
474
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1042
475
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1042
476
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1042
477
  msgid "Insert Icon"
478
  msgstr ""
496
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1065
497
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1065
498
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1068
499
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1068
500
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1068
501
  msgid "API Error"
502
  msgstr ""
520
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1067
521
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1067
522
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1070
523
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1070
524
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1070
525
  msgid ""
526
  "The attempt to reach the jsDelivr API server failed with the following "
546
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1077
547
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1077
548
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1080
549
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1080
550
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1080
551
  msgid "Remote CSS Error"
552
  msgstr ""
570
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1079
571
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1079
572
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1082
573
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1082
574
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1082
575
  msgid ""
576
  "The attempt to fetch the remote Font Awesome stylesheet failed with the "
596
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1089
597
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1089
598
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1092
599
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1092
600
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1092
601
  msgid ""
602
  "<b>Don't worry! Better Font Awesome will still render using the included "
622
  #: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1093
623
  #: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1093
624
  #: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1096
625
+ #: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1096
626
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1096
627
  msgid "Solution"
628
  msgstr ""
lib/better-font-awesome-library/README.md CHANGED
@@ -43,9 +43,6 @@ git submodule update --init --recursive
43
 
44
  2. Add the following code to your main plugin file or your theme's functions.php file.
45
  ```
46
- // Include the main library file. Make sure to modify the path to match your directory structure.
47
- require_once ( dirname( __FILE__ ) . '/better-font-awesome-library/better-font-awesome-library.php' );
48
-
49
  add_action( 'init', 'my_prefix_load_bfa' );
50
  /**
51
  * Initialize the Better Font Awesome Library.
@@ -53,6 +50,9 @@ git submodule update --init --recursive
53
  * (see usage notes below on proper hook priority)
54
  */
55
  function my_prefix_load_bfa() {
 
 
 
56
 
57
  // Set the library initialization args (defaults shown).
58
  $args = array(
43
 
44
  2. Add the following code to your main plugin file or your theme's functions.php file.
45
  ```
 
 
 
46
  add_action( 'init', 'my_prefix_load_bfa' );
47
  /**
48
  * Initialize the Better Font Awesome Library.
50
  * (see usage notes below on proper hook priority)
51
  */
52
  function my_prefix_load_bfa() {
53
+
54
+ // Include the main library file. Make sure to modify the path to match your directory structure.
55
+ require_once ( dirname( __FILE__ ) . '/better-font-awesome-library/better-font-awesome-library.php' );
56
 
57
  // Set the library initialization args (defaults shown).
58
  $args = array(
lib/better-font-awesome-library/js/admin.js CHANGED
@@ -8,9 +8,10 @@
8
 
9
  ( function( $ ) {
10
 
11
- $( document ).on( 'tinymce-editor-init', function() {
12
 
13
- $( '.bfa-iconpicker' )
 
14
  .iconpicker({
15
  placement: 'bottomLeft',
16
  hideOnSelect: true,
@@ -26,7 +27,8 @@
26
  },
27
  })
28
  .on( 'click', function( e ) {
29
- $( this ).find( '.iconpicker-search').focus();
 
30
  })
31
  .on( 'iconpickerSelect', function( e ) {
32
  wp.media.editor.insert( icon_shortcode( e.iconpickerItem.context.title.replace( '.', '' ) ) );
8
 
9
  ( function( $ ) {
10
 
11
+ $( document ).on( 'ready tinymce-editor-init', function() {
12
 
13
+ $( '.bfa-iconpicker' ).not( '.initialized' )
14
+ .addClass( 'initialized' )
15
  .iconpicker({
16
  placement: 'bottomLeft',
17
  hideOnSelect: true,
27
  },
28
  })
29
  .on( 'click', function( e ) {
30
+ e.preventDefault();
31
+ $( this ).find( '.iconpicker-search' ).focus();
32
  })
33
  .on( 'iconpickerSelect', function( e ) {
34
  wp.media.editor.insert( icon_shortcode( e.iconpickerItem.context.title.replace( '.', '' ) ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
4
  Donate link: http://mightyminnow.com
5
  Requires at least: 3.0
6
  Tested up to: 4.3
7
- Stable tag: 1.3.3
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,6 +109,12 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
109
 
110
  == Changelog ==
111
 
 
 
 
 
 
 
112
  = 1.3.3 =
113
  * Update plugin and BFAL to all fire on `init` hook instead of mix of `plugins_loaded` and `after_theme_setup`. This should fix issues in which icons don't show up when BFAL is used in other plugins.
114
  * Update iconpicker JS to avoid conflict that arose from preventing subsequent `mouseup` event listeners from firing.
@@ -204,6 +210,12 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
204
 
205
  == Upgrade Notice ==
206
 
 
 
 
 
 
 
207
  = 1.3.3 =
208
  * Update plugin and BFAL to all fire on `init` hook instead of mix of `plugins_loaded` and `after_theme_setup`. This should fix issues in which icons don't show up when BFAL is used in other plugins.
209
  * Update iconpicker JS to avoid conflict that arose from preventing subsequent `mouseup` event listeners from firing.
4
  Donate link: http://mightyminnow.com
5
  Requires at least: 3.0
6
  Tested up to: 4.3
7
+ Stable tag: 1.3.4
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.3.4 =
113
+ * Update Better Font Awesome Library to version 1.3.4.
114
+ * Fix double shortcode insert issue.
115
+ * Fix behavior in which clicking shortcode insert button scrolls to top of page.
116
+ * Update button initialization JS to work when in Text mode in TinyMCE.
117
+
118
  = 1.3.3 =
119
  * Update plugin and BFAL to all fire on `init` hook instead of mix of `plugins_loaded` and `after_theme_setup`. This should fix issues in which icons don't show up when BFAL is used in other plugins.
120
  * Update iconpicker JS to avoid conflict that arose from preventing subsequent `mouseup` event listeners from firing.
210
 
211
  == Upgrade Notice ==
212
 
213
+ = 1.3.4 =
214
+ * Update Better Font Awesome Library to version 1.3.4.
215
+ * Fix double shortcode insert issue.
216
+ * Fix behavior in which clicking shortcode insert button scrolls to top of page.
217
+ * Update button initialization JS to work when in Text mode in TinyMCE.
218
+
219
  = 1.3.3 =
220
  * Update plugin and BFAL to all fire on `init` hook instead of mix of `plugins_loaded` and `after_theme_setup`. This should fix issues in which icons don't show up when BFAL is used in other plugins.
221
  * Update iconpicker JS to avoid conflict that arose from preventing subsequent `mouseup` event listeners from firing.