Custom Fonts - Version 1.3.5

Version Description

  • Fix: Inherit font option not working as expected for some customizer options.
Download this release

Release Info

Developer brainstormworg
Plugin Icon 128x128 Custom Fonts
Version 1.3.5
Comparing to
See all releases

Code changes from version 1.3.4 to 1.3.5

classes/class-bsf-custom-fonts-render.php CHANGED
@@ -393,7 +393,7 @@ if ( ! class_exists( 'Bsf_Custom_Fonts_Render' ) ) :
393
  // get astra options.
394
  $options = get_option( ASTRA_THEME_SETTINGS );
395
  foreach ( $options as $key => $value ) {
396
- if ( $value == $deleted_term->name ) {
397
  // set default inherit if custom font is deleted.
398
  $options[ $key ] = 'inherit';
399
  }
393
  // get astra options.
394
  $options = get_option( ASTRA_THEME_SETTINGS );
395
  foreach ( $options as $key => $value ) {
396
+ if ( $value === $deleted_term->name ) {
397
  // set default inherit if custom font is deleted.
398
  $options[ $key ] = 'inherit';
399
  }
custom-fonts.php CHANGED
@@ -6,7 +6,7 @@
6
  * Author: Brainstorm Force
7
  * Author URI: http://www.brainstormforce.com
8
  * Text Domain: custom-fonts
9
- * Version: 1.3.4
10
  *
11
  * @package Bsf_Custom_Fonts
12
  */
@@ -25,7 +25,7 @@ define( 'BSF_CUSTOM_FONTS_FILE', __FILE__ );
25
  define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
26
  define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
27
  define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
28
- define( 'BSF_CUSTOM_FONTS_VER', '1.3.4' );
29
 
30
  /**
31
  * BSF Custom Fonts
6
  * Author: Brainstorm Force
7
  * Author URI: http://www.brainstormforce.com
8
  * Text Domain: custom-fonts
9
+ * Version: 1.3.5
10
  *
11
  * @package Bsf_Custom_Fonts
12
  */
25
  define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
26
  define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
27
  define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
28
+ define( 'BSF_CUSTOM_FONTS_VER', '1.3.5' );
29
 
30
  /**
31
  * BSF Custom Fonts
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: brainstormforce
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
5
  Requires at least: 4.4
6
- Tested up to: 5.9
7
- Stable tag: 1.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -42,6 +42,8 @@ If you're not using any of the supported plugins and theme, you can write the cu
42
 
43
 
44
  == Changelog ==
 
 
45
 
46
  = 1.3.4 =
47
  - Fix: Custom fonts are not loading on Astra customizer and Elementor typography settings after Elementor Pro v3.6.0.
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
5
  Requires at least: 4.4
6
+ Tested up to: 6.0
7
+ Stable tag: 1.3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
42
 
43
 
44
  == Changelog ==
45
+ = 1.3.5 =
46
+ - Fix: Inherit font option not working as expected for some customizer options.
47
 
48
  = 1.3.4 =
49
  - Fix: Custom fonts are not loading on Astra customizer and Elementor typography settings after Elementor Pro v3.6.0.