diff --git a/README.md b/README.md index 4b63968..a828829 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu ## Changelog ## +### 1.0.19 ### +- Fix: Resolved option group markup issue for the font list in Astra customizer font control. + ### 1.0.18 ### - Fix: Fixed compatibility with other plugins with respect to the admin notice. diff --git a/classes/class-custom-typekit-fonts-render.php b/classes/class-custom-typekit-fonts-render.php index 4b6f42e..de83cf7 100644 --- a/classes/class-custom-typekit-fonts-render.php +++ b/classes/class-custom-typekit-fonts-render.php @@ -208,6 +208,7 @@ public function add_customizer_font_list( $value ) { foreach ( $kit_list['custom-typekit-font-details'] as $font => $properties ) { echo '<option value="\'' . esc_attr( $font ) . '\',' . esc_attr( $properties['fallback'] ) . '" ' . selected( $font, $value, false ) . '>' . esc_html( $font ) . '</option>'; } + echo '</optgroup>'; } } diff --git a/readme.txt b/readme.txt index fcd78b8..8160f7a 100644 --- a/readme.txt +++ b/readme.txt @@ -51,6 +51,9 @@ If you're not using any of the supported plugins and theme, you can write the cu == Changelog == += 1.0.19 = +- Fix: Resolved option group markup issue for the font list in Astra customizer font control. + = 1.0.18 = - Fix: Fixed compatibility with other plugins with respect to the admin notice.