Better Font Awesome - Version 2.0.1

Version Description

  • Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

README.md CHANGED
@@ -6,7 +6,7 @@
6
  **Donate link:** https://mickeykay.me
7
  **Requires at least:** 3.0
8
  **Tested up to:** 5.6.2
9
- **Stable tag:** 2.0.0
10
  **License:** GPLv2+
11
  **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -113,6 +113,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
113
 
114
  ## Changelog ##
115
 
 
 
 
116
  ### 2.0.0 ###
117
  * Add support for Font Awesome v5
118
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
@@ -152,6 +155,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
152
 
153
  ## Upgrade Notice ##
154
 
 
 
 
155
  ### 2.0.0 ###
156
  * Add support for Font Awesome v5
157
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
6
  **Donate link:** https://mickeykay.me
7
  **Requires at least:** 3.0
8
  **Tested up to:** 5.6.2
9
+ **Stable tag:** 2.0.1
10
  **License:** GPLv2+
11
  **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
12
 
113
 
114
  ## Changelog ##
115
 
116
+ ### 2.0.1 ###
117
+ * Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly
118
+
119
  ### 2.0.0 ###
120
  * Add support for Font Awesome v5
121
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
155
 
156
  ## Upgrade Notice ##
157
 
158
+ ### 2.0.1 ###
159
+ * Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly
160
+
161
  ### 2.0.0 ###
162
  * Add support for Font Awesome v5
163
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
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: 2.0.0
16
  * Author: Mickey Kay
17
  * Author URI: mickeyskay@gmail.com
18
  * License: GPLv2+
@@ -59,7 +59,7 @@ class Better_Font_Awesome_Plugin {
59
  *
60
  * @var string
61
  */
62
- const VERSION = '2.0.0';
63
 
64
  /**
65
  * The Better Font Awesome Library object.
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: 2.0.1
16
  * Author: Mickey Kay
17
  * Author URI: mickeyskay@gmail.com
18
  * License: GPLv2+
59
  *
60
  * @var string
61
  */
62
+ const VERSION = '2.0.1';
63
 
64
  /**
65
  * The Better Font Awesome Library object.
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 2.0.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/better-font-awesome\n"
8
- "POT-Creation-Date: 2021-03-06 16:08:06+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -33,6 +33,7 @@ msgstr ""
33
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:244
34
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:253
35
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:253
 
36
  #: svn/trunk/better-font-awesome.php:253
37
  msgid ""
38
  "It appears that Better Font Awesome is missing it's <a "
@@ -67,6 +68,7 @@ msgstr ""
67
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:245
68
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:254
69
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:254
 
70
  #: svn/trunk/better-font-awesome.php:254
71
  msgid "Back to the plugins page &rarr;"
72
  msgstr ""
@@ -86,6 +88,7 @@ msgstr ""
86
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:350
87
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:358
88
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:368
 
89
  #: svn/trunk/better-font-awesome.php:368
90
  msgid "Save Settings"
91
  msgstr ""
@@ -94,6 +97,7 @@ msgstr ""
94
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:379
95
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:387
96
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:397
 
97
  #: svn/trunk/better-font-awesome.php:397
98
  msgid "Font Awesome version"
99
  msgstr ""
@@ -102,6 +106,7 @@ msgstr ""
102
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:387
103
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:395
104
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:405
 
105
  #: svn/trunk/better-font-awesome.php:405
106
  msgid "Version check frequency"
107
  msgstr ""
@@ -110,6 +115,7 @@ msgstr ""
110
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:395
111
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:403
112
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:413
 
113
  #: svn/trunk/better-font-awesome.php:413
114
  msgid "Include v4 CSS shim"
115
  msgstr ""
@@ -118,6 +124,7 @@ msgstr ""
118
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:401
119
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:409
120
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:419
 
121
  #: svn/trunk/better-font-awesome.php:419
122
  msgid ""
123
  "Include the Font Awesome v4 CSS shim to support legacy icons (<a "
@@ -140,6 +147,7 @@ msgstr ""
140
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:407
141
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:415
142
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:425
 
143
  #: svn/trunk/better-font-awesome.php:425
144
  msgid "Remove existing Font Awesome"
145
  msgstr ""
@@ -159,6 +167,7 @@ msgstr ""
159
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:413
160
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:421
161
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:431
 
162
  #: svn/trunk/better-font-awesome.php:431
163
  msgid ""
164
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
@@ -180,6 +189,7 @@ msgstr ""
180
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:419
181
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:427
182
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:437
 
183
  #: svn/trunk/better-font-awesome.php:437
184
  msgid "Hide admin notices"
185
  msgstr ""
@@ -199,6 +209,7 @@ msgstr ""
199
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:425
200
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:433
201
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:443
 
202
  #: svn/trunk/better-font-awesome.php:443
203
  msgid ""
204
  "Hide the default admin warnings that are shown when API and CDN errors "
@@ -210,6 +221,7 @@ msgstr ""
210
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:487
211
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:490
212
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:500
 
213
  #: svn/trunk/better-font-awesome.php:500
214
  msgid "Settings saved."
215
  msgstr ""
@@ -218,6 +230,7 @@ msgstr ""
218
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:511
219
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:514
220
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:524
 
221
  #: svn/trunk/better-font-awesome.php:524
222
  #. translators: placeholder is the numeric current version number.
223
  msgid ""
@@ -353,8 +366,9 @@ msgstr ""
353
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:877
354
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:916
355
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:918
356
- #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:918
357
- #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:918
 
358
  msgid ""
359
  "This may be the result of a temporary server or connectivity issue which "
360
  "will resolve shortly. However if the problem persists please file a support "
@@ -442,8 +456,9 @@ msgstr ""
442
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:838
443
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:877
444
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:879
445
- #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:879
446
- #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:879
 
447
  msgid "Insert Icon"
448
  msgstr ""
449
 
@@ -640,8 +655,9 @@ msgstr ""
640
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:865
641
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:904
642
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:906
643
- #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:906
644
- #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:906
 
645
  msgid ""
646
  "It looks like something went wrong when trying to fetch data from the Font "
647
  "Awesome API:"
@@ -652,8 +668,9 @@ msgstr ""
652
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:876
653
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:915
654
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:917
655
- #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:917
656
- #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:917
 
657
  msgid ""
658
  "Don't worry! Better Font Awesome will still render using the included "
659
  "fallback version:</b> "
2
  # This file is distributed under the GPLv2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Better Font Awesome 2.0.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/better-font-awesome\n"
8
+ "POT-Creation-Date: 2021-03-11 05:46:24+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
33
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:244
34
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:253
35
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:253
36
+ #: svn/tags/2.0.1/better-font-awesome.php:253
37
  #: svn/trunk/better-font-awesome.php:253
38
  msgid ""
39
  "It appears that Better Font Awesome is missing it's <a "
68
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:245
69
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:254
70
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:254
71
+ #: svn/tags/2.0.1/better-font-awesome.php:254
72
  #: svn/trunk/better-font-awesome.php:254
73
  msgid "Back to the plugins page &rarr;"
74
  msgstr ""
88
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:350
89
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:358
90
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:368
91
+ #: svn/tags/2.0.1/better-font-awesome.php:368
92
  #: svn/trunk/better-font-awesome.php:368
93
  msgid "Save Settings"
94
  msgstr ""
97
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:379
98
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:387
99
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:397
100
+ #: svn/tags/2.0.1/better-font-awesome.php:397
101
  #: svn/trunk/better-font-awesome.php:397
102
  msgid "Font Awesome version"
103
  msgstr ""
106
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:387
107
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:395
108
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:405
109
+ #: svn/tags/2.0.1/better-font-awesome.php:405
110
  #: svn/trunk/better-font-awesome.php:405
111
  msgid "Version check frequency"
112
  msgstr ""
115
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:395
116
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:403
117
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:413
118
+ #: svn/tags/2.0.1/better-font-awesome.php:413
119
  #: svn/trunk/better-font-awesome.php:413
120
  msgid "Include v4 CSS shim"
121
  msgstr ""
124
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:401
125
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:409
126
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:419
127
+ #: svn/tags/2.0.1/better-font-awesome.php:419
128
  #: svn/trunk/better-font-awesome.php:419
129
  msgid ""
130
  "Include the Font Awesome v4 CSS shim to support legacy icons (<a "
147
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:407
148
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:415
149
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:425
150
+ #: svn/tags/2.0.1/better-font-awesome.php:425
151
  #: svn/trunk/better-font-awesome.php:425
152
  msgid "Remove existing Font Awesome"
153
  msgstr ""
167
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:413
168
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:421
169
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:431
170
+ #: svn/tags/2.0.1/better-font-awesome.php:431
171
  #: svn/trunk/better-font-awesome.php:431
172
  msgid ""
173
  "Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
189
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:419
190
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:427
191
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:437
192
+ #: svn/tags/2.0.1/better-font-awesome.php:437
193
  #: svn/trunk/better-font-awesome.php:437
194
  msgid "Hide admin notices"
195
  msgstr ""
209
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:425
210
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:433
211
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:443
212
+ #: svn/tags/2.0.1/better-font-awesome.php:443
213
  #: svn/trunk/better-font-awesome.php:443
214
  msgid ""
215
  "Hide the default admin warnings that are shown when API and CDN errors "
221
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:487
222
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:490
223
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:500
224
+ #: svn/tags/2.0.1/better-font-awesome.php:500
225
  #: svn/trunk/better-font-awesome.php:500
226
  msgid "Settings saved."
227
  msgstr ""
230
  #: svn/tags/2.0.0-beta5/better-font-awesome.php:511
231
  #: svn/tags/2.0.0-beta6/better-font-awesome.php:514
232
  #: svn/tags/2.0.0-beta7/better-font-awesome.php:524
233
+ #: svn/tags/2.0.1/better-font-awesome.php:524
234
  #: svn/trunk/better-font-awesome.php:524
235
  #. translators: placeholder is the numeric current version number.
236
  msgid ""
366
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:877
367
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:916
368
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:918
369
+ #: svn/tags/2.0.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:966
370
+ #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:966
371
+ #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:966
372
  msgid ""
373
  "This may be the result of a temporary server or connectivity issue which "
374
  "will resolve shortly. However if the problem persists please file a support "
456
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:838
457
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:877
458
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:879
459
+ #: svn/tags/2.0.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:927
460
+ #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:927
461
+ #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:927
462
  msgid "Insert Icon"
463
  msgstr ""
464
 
655
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:865
656
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:904
657
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:906
658
+ #: svn/tags/2.0.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:954
659
+ #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:954
660
+ #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:954
661
  msgid ""
662
  "It looks like something went wrong when trying to fetch data from the Font "
663
  "Awesome API:"
668
  #: svn/tags/2.0.0-beta5/vendor/mickey-kay/better-font-awesome-library-bk/better-font-awesome-library.php:876
669
  #: svn/tags/2.0.0-beta6/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:915
670
  #: svn/tags/2.0.0-beta7/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:917
671
+ #: svn/tags/2.0.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:965
672
+ #: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:965
673
+ #: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:965
674
  msgid ""
675
  "Don't worry! Better Font Awesome will still render using the included "
676
  "fallback version:</b> "
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
4
  Donate link: https://mickeykay.me
5
  Requires at least: 3.0
6
  Tested up to: 5.6.2
7
- Stable tag: 2.0.0
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -111,6 +111,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
111
 
112
  == Changelog ==
113
 
 
 
 
114
  = 2.0.0 =
115
  * Add support for Font Awesome v5
116
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
@@ -150,6 +153,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
150
 
151
  == Upgrade Notice ==
152
 
 
 
 
153
  = 2.0.0 =
154
  * Add support for Font Awesome v5
155
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
4
  Donate link: https://mickeykay.me
5
  Requires at least: 3.0
6
  Tested up to: 5.6.2
7
+ Stable tag: 2.0.1
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
111
 
112
  == Changelog ==
113
 
114
+ = 2.0.1 =
115
+ * Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly
116
+
117
  = 2.0.0 =
118
  * Add support for Font Awesome v5
119
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
153
 
154
  == Upgrade Notice ==
155
 
156
+ = 2.0.1 =
157
+ * Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly
158
+
159
  = 2.0.0 =
160
  * Add support for Font Awesome v5
161
  * Integration with Font Awesome GraphQL API for all data fetching (improve performance)
vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php CHANGED
@@ -45,7 +45,7 @@ class Better_Font_Awesome_Library {
45
  *
46
  * @var string
47
  */
48
- const VERSION = '2.0.0';
49
 
50
  /**
51
  * Font awesome GraphQL url.
@@ -798,9 +798,57 @@ class Better_Font_Awesome_Library {
798
  );
799
  wp_enqueue_style( self::SLUG . '-font-awesome-v4-shim' );
800
 
 
 
 
801
  }
802
  }
803
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  /**
805
  * Add Font Awesome CSS to TinyMCE.
806
  *
45
  *
46
  * @var string
47
  */
48
+ const VERSION = '2.0.1';
49
 
50
  /**
51
  * Font awesome GraphQL url.
798
  );
799
  wp_enqueue_style( self::SLUG . '-font-awesome-v4-shim' );
800
 
801
+ // Enqueue inline shim CSS as well.
802
+ $this->register_v4_shim_inline_css();
803
+
804
  }
805
  }
806
 
807
+ /**
808
+ * Enqueue inline v4 shim CSS to alias legacy @font-face declarations.
809
+ *
810
+ * @since 2.0.1
811
+ */
812
+ public function register_v4_shim_inline_css () {
813
+ $v4_shim_font_face = "
814
+ @font-face {
815
+ font-family: 'FontAwesome';
816
+ src: url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.eot'),
817
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.eot?#iefix') format('embedded-opentype'),
818
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.woff2') format('woff2'),
819
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.woff') format('woff'),
820
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.ttf') format('truetype'),
821
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-brands-400.svg#fontawesome') format('svg');
822
+ }
823
+
824
+ @font-face {
825
+ font-family: 'FontAwesome';
826
+ src: url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.eot'),
827
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.eot?#iefix') format('embedded-opentype'),
828
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.woff2') format('woff2'),
829
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.woff') format('woff'),
830
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.ttf') format('truetype'),
831
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-solid-900.svg#fontawesome') format('svg');
832
+ }
833
+
834
+ @font-face {
835
+ font-family: 'FontAwesome';
836
+ src: url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.eot'),
837
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.eot?#iefix') format('embedded-opentype'),
838
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.woff2') format('woff2'),
839
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.woff') format('woff'),
840
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.ttf') format('truetype'),
841
+ url('https://use.fontawesome.com/releases/v{$this->get_version()}/webfonts/fa-regular-400.svg#fontawesome') format('svg');
842
+ unicode-range: U+F004-F005,U+F007,U+F017,U+F022,U+F024,U+F02E,U+F03E,U+F044,U+F057-F059,U+F06E,U+F070,U+F075,U+F07B-F07C,U+F080,U+F086,U+F089,U+F094,U+F09D,U+F0A0,U+F0A4-F0A7,U+F0C5,U+F0C7-F0C8,U+F0E0,U+F0EB,U+F0F3,U+F0F8,U+F0FE,U+F111,U+F118-F11A,U+F11C,U+F133,U+F144,U+F146,U+F14A,U+F14D-F14E,U+F150-F152,U+F15B-F15C,U+F164-F165,U+F185-F186,U+F191-F192,U+F1AD,U+F1C1-F1C9,U+F1CD,U+F1D8,U+F1E3,U+F1EA,U+F1F6,U+F1F9,U+F20A,U+F247-F249,U+F24D,U+F254-F25B,U+F25D,U+F267,U+F271-F274,U+F279,U+F28B,U+F28D,U+F2B5-F2B6,U+F2B9,U+F2BB,U+F2BD,U+F2C1-F2C2,U+F2D0,U+F2D2,U+F2DC,U+F2ED,U+F328,U+F358-F35B,U+F3A5,U+F3D1,U+F410,U+F4AD;
843
+ }
844
+ ";
845
+
846
+ wp_add_inline_style(
847
+ self::SLUG . '-font-awesome-v4-shim',
848
+ $v4_shim_font_face
849
+ );
850
+ }
851
+
852
  /**
853
  * Add Font Awesome CSS to TinyMCE.
854
  *
vendor/mickey-kay/better-font-awesome-library/package-lock.json CHANGED
@@ -943,9 +943,9 @@
943
  "dev": true
944
  },
945
  "ini": {
946
- "version": "1.3.5",
947
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
948
- "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
949
  "dev": true
950
  },
951
  "interpret": {
943
  "dev": true
944
  },
945
  "ini": {
946
+ "version": "1.3.8",
947
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
948
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
949
  "dev": true
950
  },
951
  "interpret": {