Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 3.0.15 |
Comparing to | |
See all releases |
Code changes from version 3.0.14 to 3.0.15
- changelog.txt +4 -0
- class-olympus-google-fonts.php +2 -2
- includes/functions.php +1 -1
- olympus-google-fonts.php +1 -1
- readme.txt +1 -1
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 3.0.14 =
|
2 |
|
3 |
* Add support for block-based themes and full site editing.
|
1 |
+
= 3.0.15 =
|
2 |
+
|
3 |
+
* Fix issue with translations in /languages loading too late.
|
4 |
+
|
5 |
= 3.0.14 =
|
6 |
|
7 |
* Add support for block-based themes and full site editing.
|
class-olympus-google-fonts.php
CHANGED
@@ -20,7 +20,7 @@ class Olympus_Google_Fonts {
|
|
20 |
$this->includes();
|
21 |
$this->compatability();
|
22 |
|
23 |
-
add_action( '
|
24 |
|
25 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue' ), 1000 ); // ensure our Google Font styles load last.
|
26 |
add_filter( 'wp_resource_hints', array( $this, 'resource_hints' ), 10, 2 );
|
@@ -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' ) ) {
|
20 |
$this->includes();
|
21 |
$this->compatability();
|
22 |
|
23 |
+
add_action( 'init', array( $this, 'load_textdomain' ) );
|
24 |
|
25 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue' ), 1000 ); // ensure our Google Font styles load last.
|
26 |
add_filter( 'wp_resource_hints', array( $this, 'resource_hints' ), 10, 2 );
|
39 |
*/
|
40 |
public function constants() {
|
41 |
if ( ! defined( 'OGF_VERSION' ) ) {
|
42 |
+
define( 'OGF_VERSION', '3.0.15' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'OGF_DIR_PATH' ) ) {
|
includes/functions.php
CHANGED
@@ -81,7 +81,7 @@ function ogf_get_elements() {
|
|
81 |
'label' => esc_html__( 'Title and H1 Typography', 'olympus-google-fonts' ),
|
82 |
'description' => esc_html__( 'Select and configure the font for your title and H1 headings.', 'olympus-google-fonts' ),
|
83 |
'section' => 'ogf_advanced__content',
|
84 |
-
'selectors' => '.entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1, .type-post h1, .type-page h1',
|
85 |
),
|
86 |
'ogf_post_page_h2' => array(
|
87 |
'label' => esc_html__( 'H2 Typography', 'olympus-google-fonts' ),
|
81 |
'label' => esc_html__( 'Title and H1 Typography', 'olympus-google-fonts' ),
|
82 |
'description' => esc_html__( 'Select and configure the font for your title and H1 headings.', 'olympus-google-fonts' ),
|
83 |
'section' => 'ogf_advanced__content',
|
84 |
+
'selectors' => '.wp-block-post-title, .wp-block-post-title a, .entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1, .type-post h1, .type-page h1',
|
85 |
),
|
86 |
'ogf_post_page_h2' => array(
|
87 |
'label' => esc_html__( 'H2 Typography', 'olympus-google-fonts' ),
|
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 Plugin. No coding required. Optimized for Speed. 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 Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
8 |
+
* Version: 3.0.15
|
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.9
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 3.0.
|
9 |
|
10 |
The easiest to use Google Fonts Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
11 |
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.9
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 3.0.15
|
9 |
|
10 |
The easiest to use Google Fonts Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
11 |
|