OMGF | GDPR/DSVGO Compliant, Faster Google Fonts. Easy. - Version 3.3.4

Version Description

  • Fixed bug in preload.
Download this release

Release Info

Developer DaanvandenBergh
Plugin Icon 128x128 OMGF | GDPR/DSVGO Compliant, Faster Google Fonts. Easy.
Version 3.3.4
Comparing to
See all releases

Code changes from version 3.3.3 to 3.3.4

host-webfonts-local.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: OMGF
5
  * Plugin URI: https://daan.dev/wordpress-plugins/host-google-fonts-locally
6
  * Description: Minimize DNS requests and leverage browser cache by easily saving Google Fonts to your server and removing the external Google Fonts.
7
- * Version: 3.3.3
8
  * Author: Daan van den Bergh
9
  * Author URI: https://daan.dev
10
  * License: GPL2v2 or later
4
  * Plugin Name: OMGF
5
  * Plugin URI: https://daan.dev/wordpress-plugins/host-google-fonts-locally
6
  * Description: Minimize DNS requests and leverage browser cache by easily saving Google Fonts to your server and removing the external Google Fonts.
7
+ * Version: 3.3.4
8
  * Author: Daan van den Bergh
9
  * Author URI: https://daan.dev
10
  * License: GPL2v2 or later
includes/frontend/class-functions.php CHANGED
@@ -200,7 +200,7 @@ class OMGF_Frontend_Functions
200
 
201
  foreach ($preload_fonts as $font) {
202
  $font_urls[] = array_values(array_filter((array) $font, function ($properties) {
203
- return strpos($properties, 'woff2') !== false;
204
  }, ARRAY_FILTER_USE_KEY));
205
  }
206
 
200
 
201
  foreach ($preload_fonts as $font) {
202
  $font_urls[] = array_values(array_filter((array) $font, function ($properties) {
203
+ return strpos($properties, 'woff2_local') !== false;
204
  }, ARRAY_FILTER_USE_KEY));
205
  }
206
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: DaanvandenBergh
3
  Tags: google, fonts, gdpr, cache, speed, preload, font-display, webfonts, subsets, remove, minimize, external, requests
4
  Requires at least: 4.6
5
  Tested up to: 5.4
6
- Stable tag: 3.3.3
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -108,8 +108,11 @@ N/A
108
 
109
  == Changelog ==
110
 
 
 
 
111
  = 3.3.3 =
112
- Added error handling for API-calls.
113
 
114
  = 3.3.2 =
115
  * Auto Detect is now compatible with Newspaper theme.
3
  Tags: google, fonts, gdpr, cache, speed, preload, font-display, webfonts, subsets, remove, minimize, external, requests
4
  Requires at least: 4.6
5
  Tested up to: 5.4
6
+ Stable tag: 3.3.4
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
108
 
109
  == Changelog ==
110
 
111
+ = 3.3.4 =
112
+ * Fixed bug in preload.
113
+
114
  = 3.3.3 =
115
+ * Added error handling for API-calls.
116
 
117
  = 3.3.2 =
118
  * Auto Detect is now compatible with Newspaper theme.