Version Description
- Attempt to fix syntax error (unexpected ')' on line 147).
Download this release
Release Info
Developer | DaanvandenBergh |
Plugin | OMGF | GDPR/DSVGO Compliant, Faster Google Fonts. Easy. |
Version | 4.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.1.1 to 4.1.2
- host-webfonts-local.php +1 -1
- includes/class-ajax.php +2 -4
- readme.txt +4 -1
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 automatically saving Google Fonts to your server and removing the external Google Fonts.
|
7 |
-
* Version: 4.1.
|
8 |
* Author: Daan (from Fast FW Press)
|
9 |
* Author URI: https://ffwp.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 automatically saving Google Fonts to your server and removing the external Google Fonts.
|
7 |
+
* Version: 4.1.2
|
8 |
* Author: Daan (from Fast FW Press)
|
9 |
* Author URI: https://ffwp.dev
|
10 |
* License: GPL2v2 or later
|
includes/class-ajax.php
CHANGED
@@ -80,7 +80,6 @@ class OMGF_AJAX
|
|
80 |
$front_html = wp_remote_get(
|
81 |
site_url(),
|
82 |
[
|
83 |
-
'sslverify' => false,
|
84 |
'timeout' => 10
|
85 |
]
|
86 |
);
|
@@ -120,7 +119,6 @@ class OMGF_AJAX
|
|
120 |
$download = wp_remote_get(
|
121 |
add_query_arg( [ 'nocache' => substr( md5( microtime() ), rand( 0, 26 ), 5 ) ], $url ),
|
122 |
[
|
123 |
-
'sslverify' => false,
|
124 |
'timeout' => 10
|
125 |
]
|
126 |
);
|
@@ -143,8 +141,8 @@ class OMGF_AJAX
|
|
143 |
OMGF_Admin_Notice::set_notice(
|
144 |
__( 'OMGF has finished optimizing your Google Fonts. Enjoy! :-)', $this->plugin_text_domain ),
|
145 |
'omgf-optimize',
|
146 |
-
false
|
147 |
-
|
148 |
|
149 |
OMGF_Admin_Notice::set_notice(
|
150 |
'<em>' . __( 'If you\'re using any CSS minify/combine and/or Full Page Caching plugins, don\'t forget to flush their caches.', $this->plugin_text_domain ) . '</em>',
|
80 |
$front_html = wp_remote_get(
|
81 |
site_url(),
|
82 |
[
|
|
|
83 |
'timeout' => 10
|
84 |
]
|
85 |
);
|
119 |
$download = wp_remote_get(
|
120 |
add_query_arg( [ 'nocache' => substr( md5( microtime() ), rand( 0, 26 ), 5 ) ], $url ),
|
121 |
[
|
|
|
122 |
'timeout' => 10
|
123 |
]
|
124 |
);
|
141 |
OMGF_Admin_Notice::set_notice(
|
142 |
__( 'OMGF has finished optimizing your Google Fonts. Enjoy! :-)', $this->plugin_text_domain ),
|
143 |
'omgf-optimize',
|
144 |
+
false
|
145 |
+
);
|
146 |
|
147 |
OMGF_Admin_Notice::set_notice(
|
148 |
'<em>' . __( 'If you\'re using any CSS minify/combine and/or Full Page Caching plugins, don\'t forget to flush their caches.', $this->plugin_text_domain ) . '</em>',
|
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.5
|
6 |
-
Stable tag: 4.1.
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -112,6 +112,9 @@ N/A
|
|
112 |
|
113 |
== Changelog ==
|
114 |
|
|
|
|
|
|
|
115 |
= 4.1.1 =
|
116 |
* Use transients instead of options.
|
117 |
* Fixed some minor notices and warnings.
|
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.5
|
6 |
+
Stable tag: 4.1.2
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 4.1.2 =
|
116 |
+
* Attempt to fix syntax error (unexpected ')' on line 147).
|
117 |
+
|
118 |
= 4.1.1 =
|
119 |
* Use transients instead of options.
|
120 |
* Fixed some minor notices and warnings.
|