Skip to content

Commit 471fc18

Browse files
authored
Merge pull request #26 from brainstormforce/console_fix
v1.0.13 - Fix: Console errors in customizer & frontend on adobe font(TypeKit) selection.
2 parents 456dafb + 4531a6e commit 471fc18

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

classes/class-custom-typekit-fonts-render.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public function __construct() {
7878

7979
add_action( 'enqueue_block_editor_assets', array( $this, 'typekit_embed_css' ) );
8080
// Astra filter before creating google fonts URL.
81+
add_filter( 'astra_google_fonts', array( $this, 'remove_typekit_font_google_url' ) );
8182
add_filter( 'astra_google_fonts_selected', array( $this, 'remove_typekit_font_google_url' ) );
8283
}
8384

custom-typekit-fonts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Author: Brainstorm Force
77
* Author URI: http://www.brainstormforce.com
88
* Text Domain: custom-typekit-fonts
9-
* Version: 1.0.12
9+
* Version: 1.0.13
1010
*
1111
* @package Typekit_Custom_Fonts
1212
*/
@@ -25,7 +25,7 @@
2525
define( 'CUSTOM_TYPEKIT_FONTS_BASE', plugin_basename( CUSTOM_TYPEKIT_FONTS_FILE ) );
2626
define( 'CUSTOM_TYPEKIT_FONTS_DIR', plugin_dir_path( CUSTOM_TYPEKIT_FONTS_FILE ) );
2727
define( 'CUSTOM_TYPEKIT_FONTS_URI', plugins_url( '/', CUSTOM_TYPEKIT_FONTS_FILE ) );
28-
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.12' );
28+
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.13' );
2929
/**
3030
* BSF Custom Fonts
3131
*/

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu
4949

5050
== Changelog ==
5151

52+
= v1.0.13 =
53+
- Fix: Console errors in customizer & frontend on adobe font(TypeKit) selection.
54+
5255
= v1.0.12 =
5356
- Fix: Load Custom Adobe Fonts (Typekit) menu after Astra Options.
5457
- Fix: Console errors in customizer while selecting font.

0 commit comments

Comments
 (0)