Version Description
- Released on 28th September 2018
- Remove fonts used in Gutenberg.
Download this release
Release Info
Developer | dimadin |
Plugin | Disable Google Fonts |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- disable-google-fonts.php +2 -1
- readme.txt +7 -3
disable-google-fonts.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Description: Disable enqueuing of Open Sans and other fonts used by WordPress from Google.
|
16 |
* Author: Milan Dinić
|
17 |
* Author URI: https://milandinic.com/
|
18 |
-
* Version: 1.
|
19 |
* Text Domain: disable-google-fonts
|
20 |
* Domain Path: /languages/
|
21 |
* License: GPL
|
@@ -33,6 +33,7 @@ class Disable_Google_Fonts {
|
|
33 |
*/
|
34 |
public function __construct() {
|
35 |
add_filter( 'gettext_with_context', array( $this, 'disable_open_sans' ), 888, 4 );
|
|
|
36 |
add_action( 'after_setup_theme', array( $this, 'register_theme_fonts_disabler' ), 1 );
|
37 |
}
|
38 |
|
15 |
* Description: Disable enqueuing of Open Sans and other fonts used by WordPress from Google.
|
16 |
* Author: Milan Dinić
|
17 |
* Author URI: https://milandinic.com/
|
18 |
+
* Version: 1.4
|
19 |
* Text Domain: disable-google-fonts
|
20 |
* Domain Path: /languages/
|
21 |
* License: GPL
|
33 |
*/
|
34 |
public function __construct() {
|
35 |
add_filter( 'gettext_with_context', array( $this, 'disable_open_sans' ), 888, 4 );
|
36 |
+
add_filter( 'gettext_with_context', array( $this, 'disable_noto_serif' ), 888, 4 );
|
37 |
add_action( 'after_setup_theme', array( $this, 'register_theme_fonts_disabler' ), 1 );
|
38 |
}
|
39 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: dimadin
|
|
3 |
Donate link: https://milandinic.com/donate/
|
4 |
Tags: Open Sans, Google Fonts, Google Web Fonts
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.9.
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 1.
|
9 |
|
10 |
Disable enqueuing of Open Sans and other fonts used by WordPress from Google.
|
11 |
|
@@ -13,7 +13,7 @@ Disable enqueuing of Open Sans and other fonts used by WordPress from Google.
|
|
13 |
|
14 |
[Plugin homepage](https://milandinic.com/wordpress/plugins/disable-google-fonts/) | [Plugin author](https://milandinic.com/) | [Donate](https://milandinic.com/donate/)
|
15 |
|
16 |
-
This plugin stops loading of Open Sans and other fonts used by WordPress core or bundled themes (Twenty Twelve, Twenty Thirteen, Twenty Fourteen, Twenty Fifteen, Twenty Sixteen, Twenty Seventeen) from Google Fonts. If another theme or plugin uses fonts from Google Fonts, those fonts still might be loaded.
|
17 |
|
18 |
Reasons for not using Google Fonts might be privacy and security, local development or production, blocking of Google's servers, characters not supported by font, performance.
|
19 |
|
@@ -28,6 +28,10 @@ And it's on [GitHub](https://github.com/dimadin/disable-google-fonts).
|
|
28 |
|
29 |
== Changelog ==
|
30 |
|
|
|
|
|
|
|
|
|
31 |
= 1.3 =
|
32 |
* Released on 12th December 2016
|
33 |
* Remove fonts used in Twenty Seventeen.
|
3 |
Donate link: https://milandinic.com/donate/
|
4 |
Tags: Open Sans, Google Fonts, Google Web Fonts
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.9.8
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 1.4
|
9 |
|
10 |
Disable enqueuing of Open Sans and other fonts used by WordPress from Google.
|
11 |
|
13 |
|
14 |
[Plugin homepage](https://milandinic.com/wordpress/plugins/disable-google-fonts/) | [Plugin author](https://milandinic.com/) | [Donate](https://milandinic.com/donate/)
|
15 |
|
16 |
+
This plugin stops loading of Open Sans and other fonts used by WordPress core, Gutenberg plugin, or bundled themes (Twenty Twelve, Twenty Thirteen, Twenty Fourteen, Twenty Fifteen, Twenty Sixteen, Twenty Seventeen) from Google Fonts. If another theme or plugin uses fonts from Google Fonts, those fonts still might be loaded.
|
17 |
|
18 |
Reasons for not using Google Fonts might be privacy and security, local development or production, blocking of Google's servers, characters not supported by font, performance.
|
19 |
|
28 |
|
29 |
== Changelog ==
|
30 |
|
31 |
+
= 1.4 =
|
32 |
+
* Released on 28th September 2018
|
33 |
+
* Remove fonts used in Gutenberg.
|
34 |
+
|
35 |
= 1.3 =
|
36 |
* Released on 12th December 2016
|
37 |
* Remove fonts used in Twenty Seventeen.
|