Google Fonts for WordPress - Version 1.4.8

Version Description

  • Improve theme compatibility
  • Update .pot
Download this release

Release Info

Developer DannyCooper
Plugin Icon 128x128 Google Fonts for WordPress
Version 1.4.8
Comparing to
See all releases

Code changes from version 1.4.6 to 1.4.8

class-olympus-google-fonts.php CHANGED
@@ -112,7 +112,7 @@ class Olympus_Google_Fonts {
112
  public function links( $links ) {
113
 
114
  // Customizer Settings Link.
115
- $customizer_url = admin_url( 'customize.php?autofocus[panel]=olympus_google_fonts' );
116
 
117
  $settings_link = '<a href="' . esc_url( $customizer_url ) . '">' . esc_html__( 'Settings', 'olympus-google-fonts' ) . '</a>';
118
 
112
  public function links( $links ) {
113
 
114
  // Customizer Settings Link.
115
+ $customizer_url = admin_url( 'customize.php?autofocus[panel]=ogf_google_fonts' );
116
 
117
  $settings_link = '<a href="' . esc_url( $customizer_url ) . '">' . esc_html__( 'Settings', 'olympus-google-fonts' ) . '</a>';
118
 
includes/class-ogf-feedback.php CHANGED
@@ -249,7 +249,7 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
249
  </p>
250
  </div>
251
  <div class="ogf-install-now">
252
- <?php printf( '<a href="%1$s" class="button button-primary ogf-install-button" target="_blank">%2$s</a>', esc_url( 'https://wordpress.org/support/view/plugin-reviews/olympus-google-fonts#new-post' ), esc_html__( 'Leave a Review', 'olympus-google-fonts' ) ); ?>
253
  <a href="<?php echo esc_url( $no_bug_url ); ?>" class="no-thanks"><?php echo esc_html__( 'No thanks / I already have', 'olympus-google-fonts' ); ?></a>
254
  </div>
255
  </div>
249
  </p>
250
  </div>
251
  <div class="ogf-install-now">
252
+ <?php printf( '<a href="%1$s" class="button button-primary ogf-install-button" target="_blank">%2$s</a>', esc_url( 'https://wordpress.org/support/view/plugin-reviews/olympus-google-fonts#new-post' ), esc_html__( 'Leave a Review', 'olympus-google-fonts' ) ); ?>
253
  <a href="<?php echo esc_url( $no_bug_url ); ?>" class="no-thanks"><?php echo esc_html__( 'No thanks / I already have', 'olympus-google-fonts' ); ?></a>
254
  </div>
255
  </div>
includes/class-ogf-welcome.php CHANGED
@@ -98,7 +98,7 @@ endif;
98
  $message = sprintf(
99
  // translators: %s Link to Google Fonts customizer panel.
100
  __( 'Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href="%s">WordPress Customizer</a>', 'olympus-google-fonts' ),
101
- esc_url( admin_url( '/customize.php?autofocus[panel]=olympus_google_fonts' ) )
102
  );
103
 
104
  /*
98
  $message = sprintf(
99
  // translators: %s Link to Google Fonts customizer panel.
100
  __( 'Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href="%s">WordPress Customizer</a>', 'olympus-google-fonts' ),
101
+ esc_url( admin_url( '/customize.php?autofocus[panel]=ogf_google_fonts' ) )
102
  );
103
 
104
  /*
includes/customizer/controls/class-ogf-customize-panel.php CHANGED
@@ -17,6 +17,11 @@ if ( ! defined( 'ABSPATH' ) ) {
17
  */
18
  class OGF_Customize_Panel extends WP_Customize_Panel {
19
 
 
 
 
 
 
20
  public $panel;
21
 
22
  /**
17
  */
18
  class OGF_Customize_Panel extends WP_Customize_Panel {
19
 
20
+ /**
21
+ * The parent panel ID.
22
+ *
23
+ * @var string
24
+ */
25
  public $panel;
26
 
27
  /**
includes/customizer/controls/class-ogf-customize-repeater-control.php CHANGED
@@ -22,7 +22,7 @@ class OGF_Customize_Repeater_Control extends WP_Customize_Control {
22
  *
23
  * @var string
24
  */
25
- public $type = 'repeater';
26
 
27
  /**
28
  * Enqueue scripts/styles for the control.
22
  *
23
  * @var string
24
  */
25
+ public $type = 'ogf-repeater';
26
 
27
  /**
28
  * Enqueue scripts/styles for the control.
includes/customizer/panels.php CHANGED
@@ -57,7 +57,7 @@ function ogf_panels_customize_register( $wp_customize ) {
57
  $wp_customize->add_section(
58
  'ogf_theme',
59
  array(
60
- 'title' => 'Theme Settings',
61
  'panel' => 'ogf_google_fonts',
62
  )
63
  );
@@ -134,7 +134,7 @@ function ogf_panels_customize_register( $wp_customize ) {
134
  $wp_customize->add_section(
135
  'ogf_advanced__sidebar',
136
  array(
137
- 'title' => 'Sidebar',
138
  'panel' => 'ogf_advanced',
139
  )
140
  );
57
  $wp_customize->add_section(
58
  'ogf_theme',
59
  array(
60
+ 'title' => esc_html__( 'Theme Settings', 'olympus-google-fonts' ),
61
  'panel' => 'ogf_google_fonts',
62
  )
63
  );
134
  $wp_customize->add_section(
135
  'ogf_advanced__sidebar',
136
  array(
137
+ 'title' => esc_html__( 'Sidebar', 'olympus-google-fonts' ),
138
  'panel' => 'ogf_advanced',
139
  )
140
  );
includes/functions.php CHANGED
@@ -51,7 +51,7 @@ function ogf_get_elements() {
51
  'label' => esc_html__( 'Site Title Typography', 'olympus-google-fonts' ),
52
  'description' => esc_html__( 'Select and configure the font for your site title.', 'olympus-google-fonts' ),
53
  'section' => 'ogf_advanced__branding',
54
- 'selectors' => '#site-title, .site-title, #site-title a, .site-title a',
55
  ),
56
  'ogf_site_description' => array(
57
  'label' => esc_html__( 'Site Description Typography', 'olympus-google-fonts' ),
51
  'label' => esc_html__( 'Site Title Typography', 'olympus-google-fonts' ),
52
  'description' => esc_html__( 'Select and configure the font for your site title.', 'olympus-google-fonts' ),
53
  'section' => 'ogf_advanced__branding',
54
+ 'selectors' => '#site-title, .site-title, #site-title a, .site-title a, #logo, #logo a, .logo, .logo a',
55
  ),
56
  'ogf_site_description' => array(
57
  'label' => esc_html__( 'Site Description Typography', 'olympus-google-fonts' ),
languages/olympus-google-fonts.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Google Fonts for WordPress plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Google Fonts for WordPress 1.4.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2019-01-05T19:08:24+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: olympus-google-fonts\n"
@@ -245,6 +245,10 @@ msgstr ""
245
  msgid "Advanced Settings"
246
  msgstr ""
247
 
 
 
 
 
248
  #: includes/customizer/panels.php:68
249
  #: includes/customizer/panels.php:95
250
  msgid "Custom Elements"
@@ -284,6 +288,10 @@ msgstr ""
284
  msgid "Content"
285
  msgstr ""
286
 
 
 
 
 
287
  #: includes/customizer/panels.php:145
288
  msgid "Footer"
289
  msgstr ""
2
  # This file is distributed under the same license as the Google Fonts for WordPress plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Google Fonts for WordPress 1.4.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2019-01-09T13:32:51+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: olympus-google-fonts\n"
245
  msgid "Advanced Settings"
246
  msgstr ""
247
 
248
+ #: includes/customizer/panels.php:60
249
+ msgid "Theme Settings"
250
+ msgstr ""
251
+
252
  #: includes/customizer/panels.php:68
253
  #: includes/customizer/panels.php:95
254
  msgid "Custom Elements"
288
  msgid "Content"
289
  msgstr ""
290
 
291
+ #: includes/customizer/panels.php:137
292
+ msgid "Sidebar"
293
+ msgstr ""
294
+
295
  #: includes/customizer/panels.php:145
296
  msgid "Footer"
297
  msgstr ""
olympus-google-fonts.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin Name: Google Fonts for WordPress
6
  * Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
7
  * Description: The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
8
- * Version: 1.4.6
9
  * Author: Danny Cooper
10
  * Author URI: https://fontsplugin.com
11
  * Text Domain: olympus-google-fonts
@@ -18,7 +18,7 @@
18
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
19
  */
20
 
21
- define( 'OGF_VERSION', '1.4.6' );
22
  define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
23
  define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
24
 
5
  * Plugin Name: Google Fonts for WordPress
6
  * Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
7
  * Description: The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
8
+ * Version: 1.4.8
9
  * Author: Danny Cooper
10
  * Author URI: https://fontsplugin.com
11
  * Text Domain: olympus-google-fonts
18
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
19
  */
20
 
21
+ define( 'OGF_VERSION', '1.4.8' );
22
  define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
23
  define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
24
 
readme.txt CHANGED
@@ -1,10 +1,11 @@
1
  === Google Fonts for WordPress ===
2
  Contributors: DannyCooper, googlefonts
3
  Tags: google, fonts, google fonts, google fonts for wordpress, gutenberg
 
4
  Requires at least: 4.0
5
  Tested up to: 5.0
6
  License: GPLv2 or later
7
- Stable tag: 1.4.6
8
 
9
  The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
10
 
@@ -80,9 +81,18 @@ We are 99.99% certain it will, if it doesn't then please create a [support ticke
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
 
 
 
 
83
  = 1.4.6 =
84
 
85
- * Improve theme compatability
86
  * Optimize block code
87
  * Update translation files
88
 
1
  === Google Fonts for WordPress ===
2
  Contributors: DannyCooper, googlefonts
3
  Tags: google, fonts, google fonts, google fonts for wordpress, gutenberg
4
+ Donate link: https://fontsplugin.com/#pricing
5
  Requires at least: 4.0
6
  Tested up to: 5.0
7
  License: GPLv2 or later
8
+ Stable tag: 1.4.8
9
 
10
  The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
11
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.4.8 =
85
+
86
+ * Improve theme compatibility
87
+ * Update .pot
88
+
89
+ = 1.4.7 =
90
+
91
+ * Fix conflict with Kirki
92
+
93
  = 1.4.6 =
94
 
95
+ * Improve theme compatibility
96
  * Optimize block code
97
  * Update translation files
98