Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Disable and Remove Google Fonts |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- changelog.txt +4 -0
- disable-remove-google-fonts.php +3 -3
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 1.4.0 =
|
2 |
|
3 |
* Add compatibility for Appointment.
|
1 |
+
= 1.4.1 =
|
2 |
+
|
3 |
+
* Change priority on wp_enqueue_scripts as some themes use 10000.
|
4 |
+
|
5 |
= 1.4.0 =
|
6 |
|
7 |
* Add compatibility for Appointment.
|
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.4.
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
11 |
*
|
@@ -75,8 +75,8 @@ function drgf_dequeueu_fonts() {
|
|
75 |
remove_action('wp_head', 'appointment_load_google_font');
|
76 |
|
77 |
}
|
78 |
-
add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts',
|
79 |
-
add_action( 'wp_print_styles', 'drgf_dequeueu_fonts',
|
80 |
|
81 |
/**
|
82 |
* Dequeue Google Fonts loaded by Elementor.
|
5 |
* Description: Optimize frontend performance by disabling Google Fonts. GDPR-friendly.
|
6 |
* Author: Fonts Plugin
|
7 |
* Author URI: https://fontsplugin.com
|
8 |
+
* Version: 1.4.1
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
11 |
*
|
75 |
remove_action('wp_head', 'appointment_load_google_font');
|
76 |
|
77 |
}
|
78 |
+
add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts', PHP_INT_MAX );
|
79 |
+
add_action( 'wp_print_styles', 'drgf_dequeueu_fonts', PHP_INT_MAX );
|
80 |
|
81 |
/**
|
82 |
* Dequeue Google Fonts loaded by Elementor.
|