Google Fonts for WordPress - Version 1.8.2

Version Description

Download this release

Release Info

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

Code changes from version 1.8.1 to 1.8.2

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  = 1.8.1 =
2
 
 
 
 
 
3
  * Fix for "Invalid argument supplied for foreach()" error
4
 
5
  = 1.8.0 =
1
  = 1.8.1 =
2
 
3
+ * Further improve theme compatibility for basic settings
4
+
5
+ = 1.8.1 =
6
+
7
  * Fix for "Invalid argument supplied for foreach()" error
8
 
9
  = 1.8.0 =
includes/functions.php CHANGED
@@ -38,13 +38,13 @@ function ogf_get_elements() {
38
  'label' => esc_html__( 'Base Typography', 'olympus-google-fonts' ),
39
  'description' => esc_html__( 'Select and configure the font for your content.', 'olympus-google-fonts' ),
40
  'section' => 'ogf_basic',
41
- 'selectors' => 'body',
42
  ),
43
  'ogf_headings' => array(
44
  'label' => esc_html__( 'Headings Typography', 'olympus-google-fonts' ),
45
  'description' => esc_html__( 'Select and configure the font for your headings.', 'olympus-google-fonts' ),
46
  'section' => 'ogf_basic',
47
- 'selectors' => '#site-title, .site-title, #site-title a, .site-title a, .entry-title, .entry-title a, h1, h2, h3, h4, h5, h6',
48
  ),
49
  'ogf_inputs' => array(
50
  'label' => esc_html__( 'Buttons and Inputs Typography', 'olympus-google-fonts' ),
38
  'label' => esc_html__( 'Base Typography', 'olympus-google-fonts' ),
39
  'description' => esc_html__( 'Select and configure the font for your content.', 'olympus-google-fonts' ),
40
  'section' => 'ogf_basic',
41
+ 'selectors' => 'body, #content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer',
42
  ),
43
  'ogf_headings' => array(
44
  'label' => esc_html__( 'Headings Typography', 'olympus-google-fonts' ),
45
  'description' => esc_html__( 'Select and configure the font for your headings.', 'olympus-google-fonts' ),
46
  'section' => 'ogf_basic',
47
+ 'selectors' => '#site-title, .site-title, #site-title a, .site-title a, .entry-title, .entry-title a, h1, h2, h3, h4, h5, h6, .widget-title',
48
  ),
49
  'ogf_inputs' => array(
50
  'label' => esc_html__( 'Buttons and Inputs Typography', 'olympus-google-fonts' ),
languages/olympus-google-fonts.pot CHANGED
@@ -1,22 +1,21 @@
1
  # Copyright (C) 2019 Fonts Plugin
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.7.1\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-05-08T16:48:48+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"
16
 
17
  #. Plugin Name of the plugin
18
- #: includes/class-ogf-notifications.php:300
19
- msgid "Google Fonts for WordPress"
20
  msgstr ""
21
 
22
  #. Plugin URI of the plugin
@@ -24,7 +23,7 @@ msgid "https://wordpress.org/plugins/olympus-google-fonts/"
24
  msgstr ""
25
 
26
  #. Description of the plugin
27
- msgid "The easiest to use Google Fonts plugin. No coding required. 870+ font choices."
28
  msgstr ""
29
 
30
  #. Author of the plugin
@@ -35,11 +34,11 @@ msgstr ""
35
  msgid "https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading"
36
  msgstr ""
37
 
38
- #: class-olympus-google-fonts.php:141
39
  msgid "Settings"
40
  msgstr ""
41
 
42
- #: class-olympus-google-fonts.php:146
43
  msgid "Upgrade to Pro"
44
  msgstr ""
45
 
@@ -324,7 +323,6 @@ msgid "No thanks / I already have"
324
  msgstr ""
325
 
326
  #: includes/class-ogf-notifications.php:261
327
- #: includes/class-ogf-notifications.php:309
328
  msgid "Host Google Fonts Locally"
329
  msgstr ""
330
 
@@ -344,16 +342,34 @@ msgstr ""
344
  msgid "No thank you."
345
  msgstr ""
346
 
347
- #: includes/customizer/settings.php:135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  msgid "Force Styles?"
349
  msgstr ""
350
 
351
- #: includes/customizer/settings.php:139
352
  msgid "If your choices are not displaying correctly, check this box."
353
  msgstr ""
354
 
355
  #: includes/customizer/panels.php:32
356
- #: blocks/src/google-fonts/index.js:11
357
  msgid "Google Fonts"
358
  msgstr ""
359
 
@@ -369,11 +385,6 @@ msgstr ""
369
  msgid "Advanced Settings"
370
  msgstr ""
371
 
372
- #: includes/customizer/panels.php:71
373
- #: includes/customizer/panels.php:101
374
- msgid "Custom Elements"
375
- msgstr ""
376
-
377
  #. Translators: %s Custom Elements Customizer Panel URL
378
  #: includes/customizer/panels.php:74
379
  msgid "Define your Custom Elements here and then customize them under <a href=\"%s\">Advanced Settings &rarr; Custom Elements</a>."
@@ -463,7 +474,7 @@ msgid "Font Size (px)"
463
  msgstr ""
464
 
465
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:47
466
- #: blocks/src/google-fonts/edit.js:146
467
  msgid "Line Height"
468
  msgstr ""
469
 
@@ -500,25 +511,37 @@ msgid "Font Settings"
500
  msgstr ""
501
 
502
  #: blocks/src/google-fonts/edit.js:122
 
 
 
 
503
  msgid "Font"
504
  msgstr ""
505
 
506
- #: blocks/src/google-fonts/edit.js:131
507
  msgid "Font Variant"
508
  msgstr ""
509
 
510
- #: blocks/src/google-fonts/edit.js:138
511
  msgid "Font Size"
512
  msgstr ""
513
 
514
- #: blocks/src/google-fonts/edit.js:180
 
 
 
 
 
 
 
 
515
  msgid "Add some content..."
516
  msgstr ""
517
 
518
- #: blocks/src/google-fonts/index.js:15
519
  msgid "Fonts"
520
  msgstr ""
521
 
522
- #: blocks/src/google-fonts/index.js:16
523
  msgid "Heading"
524
  msgstr ""
1
  # Copyright (C) 2019 Fonts Plugin
2
+ # This file is distributed under the same license as the Google Fonts Typography plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Google Fonts Typography 1.8.2\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-06-20T09:27:02+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"
16
 
17
  #. Plugin Name of the plugin
18
+ msgid "Google Fonts Typography"
 
19
  msgstr ""
20
 
21
  #. Plugin URI of the plugin
23
  msgstr ""
24
 
25
  #. Description of the plugin
26
+ msgid "The easiest to use Google Fonts typography plugin. No coding required. 870+ font choices."
27
  msgstr ""
28
 
29
  #. Author of the plugin
34
  msgid "https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading"
35
  msgstr ""
36
 
37
+ #: class-olympus-google-fonts.php:143
38
  msgid "Settings"
39
  msgstr ""
40
 
41
+ #: class-olympus-google-fonts.php:148
42
  msgid "Upgrade to Pro"
43
  msgstr ""
44
 
323
  msgstr ""
324
 
325
  #: includes/class-ogf-notifications.php:261
 
326
  msgid "Host Google Fonts Locally"
327
  msgstr ""
328
 
342
  msgid "No thank you."
343
  msgstr ""
344
 
345
+ #: includes/class-ogf-notifications.php:300
346
+ msgid "Google Fonts for WordPress"
347
+ msgstr ""
348
+
349
+ #: includes/customizer/settings.php:38
350
+ #: includes/customizer/panels.php:71
351
+ #: includes/customizer/panels.php:101
352
+ msgid "Custom Elements"
353
+ msgstr ""
354
+
355
+ #: includes/customizer/settings.php:56
356
+ msgid "Load Fonts for CSS"
357
+ msgstr ""
358
+
359
+ #: includes/customizer/settings.php:57
360
+ msgid "Load fonts but don't automatically assign them to an element."
361
+ msgstr ""
362
+
363
+ #: includes/customizer/settings.php:157
364
  msgid "Force Styles?"
365
  msgstr ""
366
 
367
+ #: includes/customizer/settings.php:161
368
  msgid "If your choices are not displaying correctly, check this box."
369
  msgstr ""
370
 
371
  #: includes/customizer/panels.php:32
372
+ #: blocks/src/google-fonts/index.js:12
373
  msgid "Google Fonts"
374
  msgstr ""
375
 
385
  msgid "Advanced Settings"
386
  msgstr ""
387
 
 
 
 
 
 
388
  #. Translators: %s Custom Elements Customizer Panel URL
389
  #: includes/customizer/panels.php:74
390
  msgid "Define your Custom Elements here and then customize them under <a href=\"%s\">Advanced Settings &rarr; Custom Elements</a>."
474
  msgstr ""
475
 
476
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:47
477
+ #: blocks/src/google-fonts/edit.js:160
478
  msgid "Line Height"
479
  msgstr ""
480
 
511
  msgstr ""
512
 
513
  #: blocks/src/google-fonts/edit.js:122
514
+ msgid "Block Type"
515
+ msgstr ""
516
+
517
+ #: blocks/src/google-fonts/edit.js:138
518
  msgid "Font"
519
  msgstr ""
520
 
521
+ #: blocks/src/google-fonts/edit.js:145
522
  msgid "Font Variant"
523
  msgstr ""
524
 
525
+ #: blocks/src/google-fonts/edit.js:152
526
  msgid "Font Size"
527
  msgstr ""
528
 
529
+ #: blocks/src/google-fonts/edit.js:169
530
+ msgid "Color Settings"
531
+ msgstr ""
532
+
533
+ #: blocks/src/google-fonts/edit.js:174
534
+ msgid "Text Color"
535
+ msgstr ""
536
+
537
+ #: blocks/src/google-fonts/edit.js:204
538
  msgid "Add some content..."
539
  msgstr ""
540
 
541
+ #: blocks/src/google-fonts/index.js:16
542
  msgid "Fonts"
543
  msgstr ""
544
 
545
+ #: blocks/src/google-fonts/index.js:17
546
  msgid "Heading"
547
  msgstr ""
olympus-google-fonts.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin Name: 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. 870+ font choices.
8
- * Version: 1.8.1
9
  * Author: Fonts Plugin
10
  * Author URI: https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading
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.8.1' );
22
  define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
23
  define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
24
 
5
  * Plugin Name: 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. 870+ font choices.
8
+ * Version: 1.8.2
9
  * Author: Fonts Plugin
10
  * Author URI: https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading
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.8.2' );
22
  define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
23
  define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
24
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://fontsplugin.com/#pricing
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
  License: GPLv2 or later
8
- Stable tag: 1.8.1
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 870+ font choices.
11
 
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
  License: GPLv2 or later
8
+ Stable tag: 1.8.2
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 870+ font choices.
11