Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Disable and Remove Google Fonts |
Version | 1.3.6 |
Comparing to | |
See all releases |
Code changes from version 1.3.5 to 1.3.6
- changelog.txt +51 -0
- disable-remove-google-fonts.php +4 -3
- readme.txt +2 -43
changelog.txt
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
= 1.3.6 =
|
2 |
+
|
3 |
+
* Add compatibility for Hueman.
|
4 |
+
|
5 |
+
= 1.3.5 =
|
6 |
+
|
7 |
+
* Add compatibility for aThemes themes.
|
8 |
+
|
9 |
+
= 1.3.3 =
|
10 |
+
|
11 |
+
* Add compatibility for Anders Noren's (@anlino) themes.
|
12 |
+
|
13 |
+
= 1.3.2 =
|
14 |
+
|
15 |
+
* Remove fonts added by the Divi Extra theme.
|
16 |
+
|
17 |
+
= 1.3.0 =
|
18 |
+
|
19 |
+
* Remove fonts added by the Mailpoet plugin.
|
20 |
+
|
21 |
+
= 1.2.0 =
|
22 |
+
|
23 |
+
* Remove fonts added by the Apollo13 Theme Framework.
|
24 |
+
|
25 |
+
= 1.1.7 =
|
26 |
+
|
27 |
+
* Remove fonts added by the Hustle plugin.
|
28 |
+
|
29 |
+
= 1.1.6 =
|
30 |
+
|
31 |
+
* Remove fonts added by the original Jupiter theme.
|
32 |
+
|
33 |
+
= 1.1.5 =
|
34 |
+
|
35 |
+
* Remove fonts added by the JupiterX theme.
|
36 |
+
|
37 |
+
= 1.1.4 =
|
38 |
+
|
39 |
+
* Remove fonts added by the Beaver Builder plugin.
|
40 |
+
|
41 |
+
= 1.1.3 =
|
42 |
+
|
43 |
+
* Remove fonts added to wp_print_styles hook.
|
44 |
+
|
45 |
+
= 1.1.2 =
|
46 |
+
|
47 |
+
* Add Revolution Slider compatibility.
|
48 |
+
|
49 |
+
= 1.1.1 =
|
50 |
+
|
51 |
+
* Tested with WP5.3.
|
disable-remove-google-fonts.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Optimize frontend performance by disabling Google Fonts. GDPR-friendly.
|
6 |
* Author: Fonts Plugin
|
7 |
* Author URI: https://fontsplugin.com
|
8 |
-
* Version: 1.3.
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
11 |
*
|
@@ -31,8 +31,9 @@ function drgf_dequeueu_fonts() {
|
|
31 |
// Dequeue the Jupiter theme font loader.
|
32 |
wp_dequeue_script( 'mk-webfontloader' );
|
33 |
|
34 |
-
// Remove the
|
35 |
remove_action( 'wp_head', 'sydney_preconnect_google_fonts' );
|
|
|
36 |
|
37 |
global $wp_styles;
|
38 |
|
@@ -69,7 +70,7 @@ function drgf_dequeueu_fonts() {
|
|
69 |
}
|
70 |
}
|
71 |
}
|
72 |
-
|
73 |
}
|
74 |
add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts', 9999 );
|
75 |
add_action( 'wp_print_styles', 'drgf_dequeueu_fonts', 9999 );
|
5 |
* Description: Optimize frontend performance by disabling Google Fonts. GDPR-friendly.
|
6 |
* Author: Fonts Plugin
|
7 |
* Author URI: https://fontsplugin.com
|
8 |
+
* Version: 1.3.6
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
11 |
*
|
31 |
// Dequeue the Jupiter theme font loader.
|
32 |
wp_dequeue_script( 'mk-webfontloader' );
|
33 |
|
34 |
+
// Remove the aThemes resource hints.
|
35 |
remove_action( 'wp_head', 'sydney_preconnect_google_fonts' );
|
36 |
+
remove_action( 'wp_head', 'botiga_preconnect_google_fonts' );
|
37 |
|
38 |
global $wp_styles;
|
39 |
|
70 |
}
|
71 |
}
|
72 |
}
|
73 |
+
remove_action( 'wp_head', 'hu_print_gfont_head_link', 2 );
|
74 |
}
|
75 |
add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts', 9999 );
|
76 |
add_action( 'wp_print_styles', 'drgf_dequeueu_fonts', 9999 );
|
readme.txt
CHANGED
@@ -26,6 +26,7 @@ This plugin will work with all WordPress themes and has been specifically tested
|
|
26 |
* Sydney
|
27 |
* Storefront
|
28 |
* Hestia
|
|
|
29 |
* Zerif Lite
|
30 |
* Vantage
|
31 |
* ColorMag
|
@@ -67,46 +68,4 @@ We are 99.99% certain it will, if it doesn't then please create a [support ticke
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
-
|
71 |
-
|
72 |
-
* Add compatibility for Anders Noren's (@anlino) themes.
|
73 |
-
|
74 |
-
= 1.3.2 =
|
75 |
-
|
76 |
-
* Remove fonts added by the Divi Extra theme.
|
77 |
-
|
78 |
-
= 1.3.0 =
|
79 |
-
|
80 |
-
* Remove fonts added by the Mailpoet plugin.
|
81 |
-
|
82 |
-
= 1.2.0 =
|
83 |
-
|
84 |
-
* Remove fonts added by the Apollo13 Theme Framework.
|
85 |
-
|
86 |
-
= 1.1.7 =
|
87 |
-
|
88 |
-
* Remove fonts added by the Hustle plugin.
|
89 |
-
|
90 |
-
= 1.1.6 =
|
91 |
-
|
92 |
-
* Remove fonts added by the original Jupiter theme.
|
93 |
-
|
94 |
-
= 1.1.5 =
|
95 |
-
|
96 |
-
* Remove fonts added by the JupiterX theme.
|
97 |
-
|
98 |
-
= 1.1.4 =
|
99 |
-
|
100 |
-
* Remove fonts added by the Beaver Builder plugin.
|
101 |
-
|
102 |
-
= 1.1.3 =
|
103 |
-
|
104 |
-
* Remove fonts added to wp_print_styles hook.
|
105 |
-
|
106 |
-
= 1.1.2 =
|
107 |
-
|
108 |
-
* Add Revolution Slider compatibility.
|
109 |
-
|
110 |
-
= 1.1.1 =
|
111 |
-
|
112 |
-
* Tested with WP5.3.
|
26 |
* Sydney
|
27 |
* Storefront
|
28 |
* Hestia
|
29 |
+
* Hueman
|
30 |
* Zerif Lite
|
31 |
* Vantage
|
32 |
* ColorMag
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
[See changelog.txt for the complete 'Disable and Remove Google Fonts' changelog.](https://raw.githubusercontent.com/fontsplugin/disable-remove-google-fonts/master/changelog.txt)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|