Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- assets/js/customize-controls.js +14 -0
- changelog.txt +4 -0
- class-olympus-google-fonts.php +1 -1
- includes/class-ogf-fonts.php +1 -0
- olympus-google-fonts.php +1 -1
- readme.txt +1 -1
assets/js/customize-controls.js
CHANGED
@@ -303,3 +303,17 @@ jQuery( document ).ready( function() {
|
|
303 |
},
|
304 |
} );
|
305 |
}( wp.customize ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
},
|
304 |
} );
|
305 |
}( wp.customize ) );
|
306 |
+
|
307 |
+
|
308 |
+
(function($){
|
309 |
+
/* Show/Hide Read More link inside Site Preview */
|
310 |
+
wp.customize( 'fpp_use_woff2', function( use_woff2 ) {
|
311 |
+
use_woff2.bind( function( value ) {
|
312 |
+
if( true == value ){
|
313 |
+
$('#customize-control-fpp_preloading').hide();
|
314 |
+
} else {
|
315 |
+
$('#customize-control-fpp_preloading').show();
|
316 |
+
}
|
317 |
+
} );
|
318 |
+
} );
|
319 |
+
})(jQuery);
|
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 3.0.3 =
|
2 |
|
3 |
* Security hardening
|
1 |
+
= 3.0.4 =
|
2 |
+
|
3 |
+
* Add subset=all parameter to ensure all glyphs are loaded
|
4 |
+
|
5 |
= 3.0.3 =
|
6 |
|
7 |
* Security hardening
|
class-olympus-google-fonts.php
CHANGED
@@ -39,7 +39,7 @@ class Olympus_Google_Fonts {
|
|
39 |
*/
|
40 |
public function constants() {
|
41 |
if ( ! defined( 'OGF_VERSION' ) ) {
|
42 |
-
define( 'OGF_VERSION', '3.0.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'OGF_DIR_PATH' ) ) {
|
39 |
*/
|
40 |
public function constants() {
|
41 |
if ( ! defined( 'OGF_VERSION' ) ) {
|
42 |
+
define( 'OGF_VERSION', '3.0.4' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'OGF_DIR_PATH' ) ) {
|
includes/class-ogf-fonts.php
CHANGED
@@ -183,6 +183,7 @@ class OGF_Fonts {
|
|
183 |
$query_args = array(
|
184 |
'family' => implode( '|', $families ),
|
185 |
'display' => get_theme_mod( 'ogf_font_display', 'swap' ),
|
|
|
186 |
);
|
187 |
|
188 |
return add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
|
183 |
$query_args = array(
|
184 |
'family' => implode( '|', $families ),
|
185 |
'display' => get_theme_mod( 'ogf_font_display', 'swap' ),
|
186 |
+
'subset' => 'all',
|
187 |
);
|
188 |
|
189 |
return add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
|
olympus-google-fonts.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 1000+ font choices.
|
8 |
-
* Version: 3.0.
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 1000+ font choices.
|
8 |
+
* Version: 3.0.4
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://fontsplugin.com/#pricing
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 3.0.
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 1000+ font choices.
|
11 |
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 3.0.4
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 1000+ font choices.
|
11 |
|