Custom Fonts - Version 1.0.3

Version Description

Download this release

Release Info

Developer Nikschavan
Plugin Icon 128x128 Custom Fonts
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

classes/class-bsf-custom-fonts-render.php CHANGED
@@ -28,7 +28,7 @@ if ( ! class_exists( 'Bsf_Custom_Fonts_Render' ) ) :
28
  *
29
  * @var string $font_css
30
  */
31
- protected $font_css;
32
 
33
  /**
34
  * Instance of Bsf_Custom_Fonts_Admin.
@@ -148,7 +148,7 @@ if ( ! class_exists( 'Bsf_Custom_Fonts_Render' ) ) :
148
  $css .= ';}' ;
149
  endforeach;
150
 
151
- $this->font_css = $css;
152
  }
153
 
154
  /**
28
  *
29
  * @var string $font_css
30
  */
31
+ protected $font_css = '';
32
 
33
  /**
34
  * Instance of Bsf_Custom_Fonts_Admin.
148
  $css .= ';}' ;
149
  endforeach;
150
 
151
+ $this->font_css .= $css;
152
  }
153
 
154
  /**
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.0.2
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.0.2' );
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.0.3
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.0.3' );
29
 
30
  /**
31
  * BSF Custom Fonts
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpastra.com/
4
  Tags: custom fonts, theme custom fonts, unlimited custom fonts, typography
5
  Requires at least: 4.4
6
  Tested up to: 4.8.1
7
- Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -40,6 +40,9 @@ This plugin is compatible with the [Astra](https://wpastra.com/) theme only.
40
 
41
  == Changelog ==
42
 
 
 
 
43
  v1.0.2
44
  * White Label support added from the [Astra Pro](https://wpastra.com/pro/) plugin.
45
 
4
  Tags: custom fonts, theme custom fonts, unlimited custom fonts, typography
5
  Requires at least: 4.4
6
  Tested up to: 4.8.1
7
+ Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
40
 
41
  == Changelog ==
42
 
43
+ v1.0.3
44
+ * Fix: When two custom fonts are loaded on a site, only one of the fonts will be actually enqueued.
45
+
46
  v1.0.2
47
  * White Label support added from the [Astra Pro](https://wpastra.com/pro/) plugin.
48