Better Font Awesome - Version 1.4.3

Version Description

  • Fix: refactor JS to allow icon shortcode insertion button to work in all instances (ACF Flexible and Repeater fields, divi, Black Studio TinyMCE ).
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.4.3

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.4.2
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.4.3
16
  * Author: MIGHTYminnow & Mickey Kay
17
  * Author URI: mickey@mickeykaycreative.com
18
  * License: GPLv2+
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.4.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/better-font-awesome\n"
8
- "POT-Creation-Date: 2015-09-22 19:35:35+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -40,6 +40,7 @@ msgstr ""
40
  #: svn/tags/1.3.5/better-font-awesome.php:224
41
  #: svn/tags/1.4.0/better-font-awesome.php:224
42
  #: svn/tags/1.4.1/better-font-awesome.php:224
 
43
  #: svn/trunk/better-font-awesome.php:224
44
  msgid ""
45
  "It appears that Better Font Awesome is missing it's <a "
@@ -80,6 +81,7 @@ msgstr ""
80
  #: svn/tags/1.3.5/better-font-awesome.php:225
81
  #: svn/tags/1.4.0/better-font-awesome.php:225
82
  #: svn/tags/1.4.1/better-font-awesome.php:225
 
83
  #: svn/trunk/better-font-awesome.php:225
84
  msgid "Back to the plugins page &rarr;"
85
  msgstr ""
@@ -95,6 +97,7 @@ msgstr ""
95
  #: svn/tags/1.3.5/better-font-awesome.php:337
96
  #: svn/tags/1.4.0/better-font-awesome.php:337
97
  #: svn/tags/1.4.1/better-font-awesome.php:337
 
98
  #: svn/trunk/better-font-awesome.php:337
99
  msgid "Save Settings"
100
  msgstr ""
@@ -121,6 +124,7 @@ msgstr ""
121
  #: svn/tags/1.3.5/better-font-awesome.php:368
122
  #: svn/tags/1.4.0/better-font-awesome.php:368
123
  #: svn/tags/1.4.1/better-font-awesome.php:368
 
124
  #: svn/trunk/better-font-awesome.php:368
125
  msgid "Version"
126
  msgstr ""
@@ -156,6 +160,7 @@ msgstr ""
156
  #: svn/tags/1.3.5/better-font-awesome.php:377
157
  #: svn/tags/1.4.0/better-font-awesome.php:377
158
  #: svn/tags/1.4.1/better-font-awesome.php:377
 
159
  #: svn/trunk/better-font-awesome.php:377
160
  msgid "Use minified CSS"
161
  msgstr ""
@@ -191,6 +196,7 @@ msgstr ""
191
  #: svn/tags/1.3.5/better-font-awesome.php:383
192
  #: svn/tags/1.4.0/better-font-awesome.php:383
193
  #: svn/tags/1.4.1/better-font-awesome.php:383
 
194
  #: svn/trunk/better-font-awesome.php:383
195
  msgid ""
196
  "Whether to include the minified version of the CSS (checked), or the "
@@ -219,6 +225,7 @@ msgstr ""
219
  #: svn/tags/1.3.5/better-font-awesome.php:389
220
  #: svn/tags/1.4.0/better-font-awesome.php:389
221
  #: svn/tags/1.4.1/better-font-awesome.php:389
 
222
  #: svn/trunk/better-font-awesome.php:389
223
  msgid "Remove existing Font Awesome"
224
  msgstr ""
@@ -245,6 +252,7 @@ msgstr ""
245
  #: svn/tags/1.3.5/better-font-awesome.php:395
246
  #: svn/tags/1.4.0/better-font-awesome.php:395
247
  #: svn/tags/1.4.1/better-font-awesome.php:395
 
248
  #: svn/trunk/better-font-awesome.php:395
249
  msgid ""
250
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
@@ -265,6 +273,7 @@ msgstr ""
265
  #: svn/tags/1.3.5/better-font-awesome.php:401
266
  #: svn/tags/1.4.0/better-font-awesome.php:401
267
  #: svn/tags/1.4.1/better-font-awesome.php:401
 
268
  #: svn/trunk/better-font-awesome.php:401
269
  msgid "Hide admin notices"
270
  msgstr ""
@@ -283,6 +292,7 @@ msgstr ""
283
  #: svn/tags/1.3.5/better-font-awesome.php:407
284
  #: svn/tags/1.4.0/better-font-awesome.php:407
285
  #: svn/tags/1.4.1/better-font-awesome.php:407
 
286
  #: svn/trunk/better-font-awesome.php:407
287
  msgid ""
288
  "Hide the default admin warnings that are shown when API and CDN errors "
@@ -341,6 +351,8 @@ msgstr ""
341
  #: svn/tags/1.4.0/better-font-awesome.php:506
342
  #: svn/tags/1.4.1/better-font-awesome.php:480
343
  #: svn/tags/1.4.1/better-font-awesome.php:506
 
 
344
  #: svn/trunk/better-font-awesome.php:480 svn/trunk/better-font-awesome.php:506
345
  msgid "Always Latest"
346
  msgstr ""
@@ -367,6 +379,7 @@ msgstr ""
367
  #: svn/tags/1.3.5/better-font-awesome.php:540
368
  #: svn/tags/1.4.0/better-font-awesome.php:540
369
  #: svn/tags/1.4.1/better-font-awesome.php:540
 
370
  #: svn/trunk/better-font-awesome.php:540
371
  msgid ""
372
  "Version selection is currently unavailable. The attempt to reach the "
@@ -395,6 +408,7 @@ msgstr ""
395
  #: svn/tags/1.3.5/better-font-awesome.php:547
396
  #: svn/tags/1.4.0/better-font-awesome.php:547
397
  #: svn/tags/1.4.1/better-font-awesome.php:547
 
398
  #: svn/trunk/better-font-awesome.php:547
399
  msgid "Font Awesome will still render using version: %s"
400
  msgstr ""
@@ -445,6 +459,8 @@ msgstr ""
445
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1098
446
  #: svn/tags/1.4.1/better-font-awesome.php:554
447
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1098
 
 
448
  #: svn/trunk/better-font-awesome.php:554
449
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1098
450
  msgid ""
@@ -461,6 +477,7 @@ msgstr ""
461
  #: svn/tags/1.3.5/better-font-awesome.php:601
462
  #: svn/tags/1.4.0/better-font-awesome.php:601
463
  #: svn/tags/1.4.1/better-font-awesome.php:601
 
464
  #: svn/trunk/better-font-awesome.php:601
465
  msgid ""
466
  "<h3>Usage</h3>\n"
@@ -517,6 +534,7 @@ msgstr ""
517
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:493
518
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
519
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
 
520
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:493
521
  msgid "The jsDelivr API servers appear to be temporarily unavailable."
522
  msgstr ""
@@ -530,6 +548,7 @@ msgstr ""
530
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1042
531
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1042
532
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1042
 
533
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1042
534
  msgid "Insert Icon"
535
  msgstr ""
@@ -557,6 +576,7 @@ msgstr ""
557
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1068
558
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1068
559
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1068
 
560
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1068
561
  msgid "API Error"
562
  msgstr ""
@@ -584,6 +604,7 @@ msgstr ""
584
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1070
585
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1070
586
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1070
 
587
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1070
588
  msgid ""
589
  "The attempt to reach the jsDelivr API server failed with the following "
@@ -613,6 +634,7 @@ msgstr ""
613
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1080
614
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1080
615
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1080
 
616
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1080
617
  msgid "Remote CSS Error"
618
  msgstr ""
@@ -640,6 +662,7 @@ msgstr ""
640
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1082
641
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1082
642
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1082
 
643
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1082
644
  msgid ""
645
  "The attempt to fetch the remote Font Awesome stylesheet failed with the "
@@ -669,6 +692,7 @@ msgstr ""
669
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1092
670
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1092
671
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1092
 
672
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1092
673
  msgid ""
674
  "<b>Don't worry! Better Font Awesome will still render using the included "
@@ -698,6 +722,7 @@ msgstr ""
698
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1096
699
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1096
700
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1096
 
701
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1096
702
  msgid "Solution"
703
  msgstr ""
2
  # This file is distributed under the GPLv2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Better Font Awesome 1.4.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/better-font-awesome\n"
8
+ "POT-Creation-Date: 2015-09-24 19:26:32+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
40
  #: svn/tags/1.3.5/better-font-awesome.php:224
41
  #: svn/tags/1.4.0/better-font-awesome.php:224
42
  #: svn/tags/1.4.1/better-font-awesome.php:224
43
+ #: svn/tags/1.4.2/better-font-awesome.php:224
44
  #: svn/trunk/better-font-awesome.php:224
45
  msgid ""
46
  "It appears that Better Font Awesome is missing it's <a "
81
  #: svn/tags/1.3.5/better-font-awesome.php:225
82
  #: svn/tags/1.4.0/better-font-awesome.php:225
83
  #: svn/tags/1.4.1/better-font-awesome.php:225
84
+ #: svn/tags/1.4.2/better-font-awesome.php:225
85
  #: svn/trunk/better-font-awesome.php:225
86
  msgid "Back to the plugins page &rarr;"
87
  msgstr ""
97
  #: svn/tags/1.3.5/better-font-awesome.php:337
98
  #: svn/tags/1.4.0/better-font-awesome.php:337
99
  #: svn/tags/1.4.1/better-font-awesome.php:337
100
+ #: svn/tags/1.4.2/better-font-awesome.php:337
101
  #: svn/trunk/better-font-awesome.php:337
102
  msgid "Save Settings"
103
  msgstr ""
124
  #: svn/tags/1.3.5/better-font-awesome.php:368
125
  #: svn/tags/1.4.0/better-font-awesome.php:368
126
  #: svn/tags/1.4.1/better-font-awesome.php:368
127
+ #: svn/tags/1.4.2/better-font-awesome.php:368
128
  #: svn/trunk/better-font-awesome.php:368
129
  msgid "Version"
130
  msgstr ""
160
  #: svn/tags/1.3.5/better-font-awesome.php:377
161
  #: svn/tags/1.4.0/better-font-awesome.php:377
162
  #: svn/tags/1.4.1/better-font-awesome.php:377
163
+ #: svn/tags/1.4.2/better-font-awesome.php:377
164
  #: svn/trunk/better-font-awesome.php:377
165
  msgid "Use minified CSS"
166
  msgstr ""
196
  #: svn/tags/1.3.5/better-font-awesome.php:383
197
  #: svn/tags/1.4.0/better-font-awesome.php:383
198
  #: svn/tags/1.4.1/better-font-awesome.php:383
199
+ #: svn/tags/1.4.2/better-font-awesome.php:383
200
  #: svn/trunk/better-font-awesome.php:383
201
  msgid ""
202
  "Whether to include the minified version of the CSS (checked), or the "
225
  #: svn/tags/1.3.5/better-font-awesome.php:389
226
  #: svn/tags/1.4.0/better-font-awesome.php:389
227
  #: svn/tags/1.4.1/better-font-awesome.php:389
228
+ #: svn/tags/1.4.2/better-font-awesome.php:389
229
  #: svn/trunk/better-font-awesome.php:389
230
  msgid "Remove existing Font Awesome"
231
  msgstr ""
252
  #: svn/tags/1.3.5/better-font-awesome.php:395
253
  #: svn/tags/1.4.0/better-font-awesome.php:395
254
  #: svn/tags/1.4.1/better-font-awesome.php:395
255
+ #: svn/tags/1.4.2/better-font-awesome.php:395
256
  #: svn/trunk/better-font-awesome.php:395
257
  msgid ""
258
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
273
  #: svn/tags/1.3.5/better-font-awesome.php:401
274
  #: svn/tags/1.4.0/better-font-awesome.php:401
275
  #: svn/tags/1.4.1/better-font-awesome.php:401
276
+ #: svn/tags/1.4.2/better-font-awesome.php:401
277
  #: svn/trunk/better-font-awesome.php:401
278
  msgid "Hide admin notices"
279
  msgstr ""
292
  #: svn/tags/1.3.5/better-font-awesome.php:407
293
  #: svn/tags/1.4.0/better-font-awesome.php:407
294
  #: svn/tags/1.4.1/better-font-awesome.php:407
295
+ #: svn/tags/1.4.2/better-font-awesome.php:407
296
  #: svn/trunk/better-font-awesome.php:407
297
  msgid ""
298
  "Hide the default admin warnings that are shown when API and CDN errors "
351
  #: svn/tags/1.4.0/better-font-awesome.php:506
352
  #: svn/tags/1.4.1/better-font-awesome.php:480
353
  #: svn/tags/1.4.1/better-font-awesome.php:506
354
+ #: svn/tags/1.4.2/better-font-awesome.php:480
355
+ #: svn/tags/1.4.2/better-font-awesome.php:506
356
  #: svn/trunk/better-font-awesome.php:480 svn/trunk/better-font-awesome.php:506
357
  msgid "Always Latest"
358
  msgstr ""
379
  #: svn/tags/1.3.5/better-font-awesome.php:540
380
  #: svn/tags/1.4.0/better-font-awesome.php:540
381
  #: svn/tags/1.4.1/better-font-awesome.php:540
382
+ #: svn/tags/1.4.2/better-font-awesome.php:540
383
  #: svn/trunk/better-font-awesome.php:540
384
  msgid ""
385
  "Version selection is currently unavailable. The attempt to reach the "
408
  #: svn/tags/1.3.5/better-font-awesome.php:547
409
  #: svn/tags/1.4.0/better-font-awesome.php:547
410
  #: svn/tags/1.4.1/better-font-awesome.php:547
411
+ #: svn/tags/1.4.2/better-font-awesome.php:547
412
  #: svn/trunk/better-font-awesome.php:547
413
  msgid "Font Awesome will still render using version: %s"
414
  msgstr ""
459
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1098
460
  #: svn/tags/1.4.1/better-font-awesome.php:554
461
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1098
462
+ #: svn/tags/1.4.2/better-font-awesome.php:554
463
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1098
464
  #: svn/trunk/better-font-awesome.php:554
465
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1098
466
  msgid ""
477
  #: svn/tags/1.3.5/better-font-awesome.php:601
478
  #: svn/tags/1.4.0/better-font-awesome.php:601
479
  #: svn/tags/1.4.1/better-font-awesome.php:601
480
+ #: svn/tags/1.4.2/better-font-awesome.php:601
481
  #: svn/trunk/better-font-awesome.php:601
482
  msgid ""
483
  "<h3>Usage</h3>\n"
534
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:493
535
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
536
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
537
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
538
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:493
539
  msgid "The jsDelivr API servers appear to be temporarily unavailable."
540
  msgstr ""
548
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1042
549
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1042
550
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1042
551
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1042
552
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1042
553
  msgid "Insert Icon"
554
  msgstr ""
576
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1068
577
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1068
578
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1068
579
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1068
580
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1068
581
  msgid "API Error"
582
  msgstr ""
604
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1070
605
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1070
606
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1070
607
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1070
608
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1070
609
  msgid ""
610
  "The attempt to reach the jsDelivr API server failed with the following "
634
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1080
635
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1080
636
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1080
637
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1080
638
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1080
639
  msgid "Remote CSS Error"
640
  msgstr ""
662
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1082
663
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1082
664
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1082
665
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1082
666
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1082
667
  msgid ""
668
  "The attempt to fetch the remote Font Awesome stylesheet failed with the "
692
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1092
693
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1092
694
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1092
695
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1092
696
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1092
697
  msgid ""
698
  "<b>Don't worry! Better Font Awesome will still render using the included "
722
  #: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1096
723
  #: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1096
724
  #: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1096
725
+ #: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1096
726
  #: svn/trunk/lib/better-font-awesome-library/better-font-awesome-library.php:1096
727
  msgid "Solution"
728
  msgstr ""
lib/better-font-awesome-library/css/admin-styles.css CHANGED
@@ -21,7 +21,6 @@
21
  float: left;
22
  min-width: 160px;
23
  padding: 5px 0;
24
- margin: 2px 0 0;
25
  list-style: none;
26
  font-size: 14px;
27
  background-color: #fff;
21
  float: left;
22
  min-width: 160px;
23
  padding: 5px 0;
 
24
  list-style: none;
25
  font-size: 14px;
26
  background-color: #fff;
lib/better-font-awesome-library/js/admin.js CHANGED
@@ -8,31 +8,40 @@
8
 
9
  ( function( $ ) {
10
 
11
- $( document ).on( 'ready tinymce-editor-init', function() {
12
-
13
- $( '.bfa-iconpicker' ).not( ' .initialized, [id*="__i__"] *, .row-clone *, .acf-clone *' ) // [id*="__i__"] = available widgets, .row-clone/.acf-clone = ACF 4x/Pro repeater fields
14
- .addClass( 'initialized' )
15
- .iconpicker({
16
- placement: 'bottomLeft',
17
- hideOnSelect: true,
18
- animation: false,
19
- selectedCustomClass: 'selected',
20
- icons: bfa_vars.fa_icons,
21
- fullClassFormatter: function( val ) {
22
- if ( bfa_vars.fa_prefix ) {
23
- return bfa_vars.fa_prefix + ' ' + bfa_vars.fa_prefix + '-' + val;
24
- } else {
25
- return val;
26
- }
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( '.', '' ) ) );
35
- });
 
 
 
 
 
 
 
 
 
36
 
37
  });
38
 
8
 
9
  ( function( $ ) {
10
 
11
+ $( document ).on( 'ready ', function() {
12
+
13
+ $( 'body' ).on( 'mousedown', '.bfa-iconpicker', function(e) { // Use mousedown even to allow for triggering click later without infinite looping.
14
+
15
+ e.preventDefault();
16
+
17
+ $( this ).not( ' .initialized' )
18
+ .addClass( 'initialized' )
19
+ .iconpicker({
20
+ placement: 'bottomLeft',
21
+ hideOnSelect: true,
22
+ animation: false,
23
+ selectedCustomClass: 'selected',
24
+ icons: bfa_vars.fa_icons,
25
+ fullClassFormatter: function( val ) {
26
+ if ( bfa_vars.fa_prefix ) {
27
+ return bfa_vars.fa_prefix + ' ' + bfa_vars.fa_prefix + '-' + val;
28
+ } else {
29
+ return val;
30
+ }
31
+ },
32
+ });
33
+
34
+ $( this ).trigger( 'click' );
35
+
36
+ })
37
+ .on( 'click', '.bfa-iconpicker', function(e) {
38
+ $( this ).find( '.iconpicker-search' ).focus();
39
+ });
40
+
41
+ // Set up icon insertion functionality.
42
+ $( document ).on( 'iconpickerSelect', function( e ) {
43
+ wp.media.editor.insert( icon_shortcode( e.iconpickerItem.context.title.replace( '.', '' ) ) );
44
+ });
45
 
46
  });
47
 
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.4.2
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,6 +109,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 1.4.2 =
113
  * Fix: icon picker not working for ACF Pro repeater field.
114
 
@@ -219,6 +222,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
219
 
220
  == Upgrade Notice ==
221
 
 
 
 
222
  = 1.4.2 =
223
  * Fix: icon picker not working for ACF Pro repeater field.
224
 
4
  Donate link: http://mightyminnow.com
5
  Requires at least: 3.0
6
  Tested up to: 4.3
7
+ Stable tag: 1.4.3
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.4.3 =
113
+ * Fix: refactor JS to allow icon shortcode insertion button to work in all instances (ACF Flexible and Repeater fields, divi, Black Studio TinyMCE ).
114
+
115
  = 1.4.2 =
116
  * Fix: icon picker not working for ACF Pro repeater field.
117
 
222
 
223
  == Upgrade Notice ==
224
 
225
+ = 1.4.3 =
226
+ * Fix: refactor JS to allow icon shortcode insertion button to work in all instances (ACF Flexible and Repeater fields, divi, Black Studio TinyMCE ).
227
+
228
  = 1.4.2 =
229
  * Fix: icon picker not working for ACF Pro repeater field.
230