Skip to content

Commit 4be3ce9

Browse files
authored
Merge pull request #60 from brainstormforce/optgroup-markup-issue
Option group markup issue for the font list in Astra customizer font control.
2 parents e06eabb + 6cc57d9 commit 4be3ce9

6 files changed

Lines changed: 869 additions & 512 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Tags:** custom adobe fonts, theme custom fonts, unlimited typekit custom fonts
55
**Requires at least:** 4.4
66
**Tested up to:** 6.8
7-
**Stable tag:** 2.0.0
7+
**Stable tag:** 2.0.1
88
**License:** GPLv2 or later
99
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -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+
### 2.0.1 ###
53+
- Fix: Resolved option group markup issue for the font list in Astra customizer font control.
54+
5255
### 2.0.0 ###
5356
- Fix: Fixed security issue from astra-notice library.
5457

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public function add_customizer_font_list( $value ) {
208208
foreach ( $kit_list['custom-typekit-font-details'] as $font => $properties ) {
209209
echo '<option value="\'' . esc_attr( $font ) . '\',' . esc_attr( $properties['fallback'] ) . '" ' . selected( $font, $value, false ) . '>' . esc_html( $font ) . '</option>';
210210
}
211+
echo '</optgroup>';
211212
}
212213
}
213214

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: 2.0.0
9+
* Version: 2.0.1
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', '2.0.0' );
28+
define( 'CUSTOM_TYPEKIT_FONTS_VER', '2.0.1' );
2929
/**
3030
* BSF Custom Fonts
3131
*/

0 commit comments

Comments
 (0)