From b2c0d622cbbfc4a54828281f90f53e03b8f80e32 Mon Sep 17 00:00:00 2001 From: Yogesh Sambare <91533131+yssambare12@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:20:25 +0530 Subject: [PATCH] CFP-69 - Fix - Custom font variation getting place even after selecting the other weight and style (#123) * chore:added font style inside font face * chore:release points --- README.md | 5 +- admin/dashboard/package-lock.json | 15 +- custom-fonts.php | 4 +- includes/helper-functions.php | 1 + languages/custom-fonts.pot | 403 +++++------------------------- package-lock.json | 14 +- package.json | 2 +- readme.txt | 5 +- 8 files changed, 86 insertions(+), 363 deletions(-) diff --git a/README.md b/README.md index 7b57ebc9..d39b2095 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Tags:** typography, fonts, custom fonts, Google Fonts, performance, privacy, full site editing, adobe fonts, GDPR **Requires at least:** 5.0 **Tested up to:** 6.6 -**Stable tag:** 2.1.6 +**Stable tag:** 2.1.7 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -151,6 +151,9 @@ Yes, Custom Fonts is completely free to use, without any limitation. ## Changelog ## +### 2.1.7 ### +- Fix: Custom font variation getting place even after selecting the other weight and style. (Props - https://github.com/alexist-ong) + ### 2.1.6 ### - Improvement: Few string from admin dashboard app doesn't have text domain support. (Props - https://github.com/pedro-mendonca) diff --git a/admin/dashboard/package-lock.json b/admin/dashboard/package-lock.json index 64f7c831..3e835f9f 100644 --- a/admin/dashboard/package-lock.json +++ b/admin/dashboard/package-lock.json @@ -3733,12 +3733,6 @@ "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-1.4.0.tgz", "integrity": "sha512-uvrgUAhRnOvIysXjcXH9VDsrKLqH9r3BfdGoy+WFLSHFnTfdMhW7bdDQXl4F4UIUuefUwGi+ZvT/rChg9zoBkQ==", "dev": true - }, - "prettier": { - "version": "npm:wp-prettier@2.2.1-beta-1", - "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", - "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", - "dev": true } } }, @@ -12396,6 +12390,12 @@ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true }, + "prettier": { + "version": "npm:wp-prettier@2.2.1-beta-1", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", + "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", + "dev": true + }, "prettier-linter-helpers": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", @@ -14841,7 +14841,8 @@ }, "semver": { "version": "7.3.8", - "resolved": "", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" diff --git a/custom-fonts.php b/custom-fonts.php index 55f5c887..ed90a37b 100644 --- a/custom-fonts.php +++ b/custom-fonts.php @@ -6,7 +6,7 @@ * Author: Brainstorm Force * Author URI: http://www.brainstormforce.com * Text Domain: custom-fonts - * Version: 2.1.6 + * Version: 2.1.7 * * @package Bsf_Custom_Fonts */ @@ -25,7 +25,7 @@ define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) ); define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) ); define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) ); -define( 'BSF_CUSTOM_FONTS_VER', '2.1.6' ); +define( 'BSF_CUSTOM_FONTS_VER', '2.1.7' ); define( 'BSF_CUSTOM_FONTS_POST_TYPE', 'bsf_custom_fonts' ); define( 'BSF_CUSTOM_FONTS_ADMIN_PAGE', 'bsf-custom-fonts' ); diff --git a/includes/helper-functions.php b/includes/helper-functions.php index 6842d680..ed28b403 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -307,6 +307,7 @@ function bcf_prepare_lfont_face_css( $font_family, $font_data, $variation_data ) $src = array(); $font_face = '@font-face {' . PHP_EOL; $font_face .= "\tfont-family: '" . $font_family . "';" . PHP_EOL; + $font_face .= ! empty( $variation_data['font_style'] ) ? "\tfont-style: " . $variation_data['font_style'] . ';' . PHP_EOL : ''; $font_face .= ! empty( $variation_data['font_weight'] ) ? "\tfont-weight: " . $variation_data['font_weight'] . ';' . PHP_EOL : ''; $font_face .= ! empty( $font_data['font_display'] ) ? "\tfont-display: " . $font_data['font_display'] . ';' . PHP_EOL : ''; $font_face .= ! empty( $font_data['font_fallback'] ) ? "\tfont-fallback: " . $font_data['font_fallback'] . ';' . PHP_EOL : ''; diff --git a/languages/custom-fonts.pot b/languages/custom-fonts.pot index 0d25f9ff..d25a8b08 100644 --- a/languages/custom-fonts.pot +++ b/languages/custom-fonts.pot @@ -1,55 +1,42 @@ # Copyright (C) 2024 Brainstorm Force -# This file is distributed under the same license as the Custom Fonts plugin. +# This file is distributed under the same license as the Custom Fonts package. msgid "" msgstr "" -"Project-Id-Version: Custom Fonts 2.1.5\n" +"Project-Id-Version: Custom Fonts 2.1.7\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-fonts\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"POT-Creation-Date: 2024-09-23 05:46:00+00:00\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-07-16T04:07:20+00:00\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.10.0\n" -"X-Domain: custom-fonts\n" - -#. Plugin Name of the plugin -#: custom-fonts.php -msgid "Custom Fonts" -msgstr "" - -#. Plugin URI of the plugin -#: custom-fonts.php -msgid "http://www.wpastra.com/" -msgstr "" - -#. Description of the plugin -#: custom-fonts.php -msgid "Upload your own custom font or choose from a vast collection of Google fonts, all hosted directly on your server. Enjoy improved performance, enhanced privacy, and full site editing theme support. Take control of your website's typography without compromising performance, privacy or compliance!" -msgstr "" - -#. Author of the plugin -#: custom-fonts.php -msgid "Brainstorm Force" -msgstr "" - -#. Author URI of the plugin -#: custom-fonts.php -msgid "http://www.brainstormforce.com" -msgstr "" +"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-Country: United States\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: " +"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_" +"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n" +"X-Poedit-Basepath: ../\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-Bookmarks: \n" +"X-Textdomain-Support: yes\n" +"X-Generator: grunt-wp-i18n 1.0.3\n" -#. translators: %s product name #: admin/bsf-analytics/class-bsf-analytics.php:216 -msgid "Want to help make %1s even more awesome? Allow us to collect non-sensitive diagnostic data and usage information. " +#. translators: %s product name +msgid "" +"Want to help make %1s even more awesome? Allow us to " +"collect non-sensitive diagnostic data and usage information. " msgstr "" #: admin/bsf-analytics/class-bsf-analytics.php:219 msgid "This will be applicable for all sites from the network." msgstr "" -#. translators: %s usage doc link #: admin/bsf-analytics/class-bsf-analytics.php:243 +#. translators: %s usage doc link msgid " Know More." msgstr "" @@ -65,8 +52,8 @@ msgstr "" msgid "Usage Tracking" msgstr "" -#. translators: %s Product title #: admin/bsf-analytics/class-bsf-analytics.php:408 +#. translators: %s Product title msgid "Allow %s products to track non-sensitive usage tracking data." msgstr "" @@ -150,23 +137,19 @@ msgstr "" msgid "Switched preloading fonts!" msgstr "" -#: admin/dashboard/includes/class-bsf-custom-fonts-menu.php:88 -#: includes/class-bsf-custom-fonts-taxonomy.php:83 -msgctxt "Menu title" -msgid "Custom Fonts" -msgstr "" - -#. translators: 1: Custom Fonts, 2: Plugin rating link #: admin/dashboard/includes/class-bsf-custom-fonts-menu.php:579 -msgid "Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!" +#. translators: 1: Custom Fonts, 2: Plugin rating link +msgid "" +"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your " +"support!" msgstr "" #: classes/class-bsf-custom-fonts-render.php:176 msgid "Custom" msgstr "" -#. translators: 1: Astra theme from wordpress.org #: classes/class-bsf-custom-fonts-render.php:444 +#. translators: 1: Astra theme from wordpress.org msgid "Custom Fonts Plugin requires minimum 1.0.16 version of the Astra Theme." msgstr "" @@ -188,15 +171,11 @@ msgstr "" #: includes/class-bsf-custom-fonts-admin.php:124 #: includes/class-bsf-custom-fonts-admin.php:305 -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 msgid "Remove" msgstr "" #: includes/class-bsf-custom-fonts-admin.php:132 #: includes/class-bsf-custom-fonts-admin.php:217 -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 msgid "Add Font Variation" msgstr "" @@ -340,16 +319,6 @@ msgstr "" msgid "Upload" msgstr "" -#: includes/class-bsf-custom-fonts-posttype.php:83 -msgctxt "font general name" -msgid "Custom Fonts" -msgstr "" - -#: includes/class-bsf-custom-fonts-posttype.php:84 -msgctxt "font singular name" -msgid "Font" -msgstr "" - #: includes/class-bsf-custom-fonts-posttype.php:85 msgid "Search Font" msgstr "" @@ -361,7 +330,6 @@ msgstr "" #: includes/class-bsf-custom-fonts-posttype.php:87 #: includes/class-bsf-custom-fonts-taxonomy.php:90 -#: admin/dashboard/assets/build/dashboard-app.js:1 msgid "Edit Font" msgstr "" @@ -388,11 +356,6 @@ msgstr "" msgid "Font" msgstr "" -#: includes/class-bsf-custom-fonts-taxonomy.php:85 -msgctxt "Admin menu name" -msgid "Custom Fonts" -msgstr "" - #: includes/class-bsf-custom-fonts-taxonomy.php:86 msgid "Search Fonts" msgstr "" @@ -406,7 +369,6 @@ msgid "Parent Font:" msgstr "" #: includes/class-bsf-custom-fonts-taxonomy.php:92 -#: admin/dashboard/assets/build/dashboard-app.js:2 msgid "Add New Font" msgstr "" @@ -422,8 +384,7 @@ msgstr "" msgid "Sorry, you cannot list resources." msgstr "" -#: includes/white-label.php:18 -#: includes/white-label.php:23 +#: includes/white-label.php:18 includes/white-label.php:23 msgid "Custom Fonts Branding" msgstr "" @@ -439,294 +400,48 @@ msgstr "" msgid "WordPress Nonce not validated." msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Select or Upload Font" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Use Font" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Invalid file type. Only .ttf, .otf, .woff, .woff2, .svg files are allowed." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Choose File" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -msgid "Font files:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "No file chosen" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "File " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Supported file types: " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Style:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Normal" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Italic" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Oblique" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Weight:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font files chosen" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Advanced Options" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Fallback:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Separate font names with comma(,). eg." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Display:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "auto" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "block" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "swap" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "fallback" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "optional" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Make sure to provide valid details." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Save Font" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Thin " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Extra Light " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Light " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Regular " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Medium " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Semi Bold " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Bold " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Extra Bold " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Ultra-Bold " -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Selected Variant" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Variation Added Successfully!" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Variation Removed Successfully!" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Removed Successfully!" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Add" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "How vexingly quick daft zebras jump!" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Adding..." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Removing..." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Preview" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:1 -msgid "variants" -msgstr "" - -#. translators: %s: Font name. -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Remove \"%s\" font?" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Cancel" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Edit" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Find your fonts here" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Once you have add fonts, come back here to find them again easily." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Global Settings" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Preload Fonts" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Preloading your font file will speeds up your website." -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgctxt "Page title" +#. Plugin Name of the plugin/theme msgid "Custom Fonts" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Chosen files:" -msgstr "" - -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Name" +#. Plugin URI of the plugin/theme +msgid "http://www.wpastra.com/" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font Added Successfully!" +#. Description of the plugin/theme +msgid "" +"Upload your own custom font or choose from a vast collection of Google " +"fonts, all hosted directly on your server. Enjoy improved performance, " +"enhanced privacy, and full site editing theme support. Take control of your " +"website's typography without compromising performance, privacy or " +"compliance!" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Select Font" +#. Author of the plugin/theme +msgid "Brainstorm Force" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Select a font family..." +#. Author URI of the plugin/theme +msgid "http://www.brainstormforce.com" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Local Fonts" +#: admin/dashboard/includes/class-bsf-custom-fonts-menu.php:88 +#: includes/class-bsf-custom-fonts-taxonomy.php:83 +msgctxt "Menu title" +msgid "Custom Fonts" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Google Fonts" +#: includes/class-bsf-custom-fonts-posttype.php:83 +msgctxt "font general name" +msgid "Custom Fonts" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font preview will appear here. Please select a font file." +#: includes/class-bsf-custom-fonts-posttype.php:84 +msgctxt "font singular name" +msgid "Font" msgstr "" -#: admin/dashboard/assets/build/dashboard-app.js:2 -msgid "Font preview will appear here. Please select a font." -msgstr "" +#: includes/class-bsf-custom-fonts-taxonomy.php:85 +msgctxt "Admin menu name" +msgid "Custom Fonts" +msgstr "" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ed280eea..af84c5dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "custom-fonts", - "version": "2.1.5", + "version": "2.1.7", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3091,6 +3091,12 @@ "webpack-dev-server": "^4.4.0" }, "dependencies": { + "prettier": { + "version": "npm:wp-prettier@2.6.2", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.6.2.tgz", + "integrity": "sha512-AV33EzqiFJ3fj+mPlKABN59YFPReLkDxQnj067Z3uEOeRQf3g05WprL0RDuqM7UBhSRo9W1rMSC2KvZmjE5UOA==", + "dev": true + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -11227,12 +11233,6 @@ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true }, - "prettier": { - "version": "npm:wp-prettier@2.6.2", - "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.6.2.tgz", - "integrity": "sha512-AV33EzqiFJ3fj+mPlKABN59YFPReLkDxQnj067Z3uEOeRQf3g05WprL0RDuqM7UBhSRo9W1rMSC2KvZmjE5UOA==", - "dev": true - }, "prettier-linter-helpers": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", diff --git a/package.json b/package.json index b63c71e6..74def6f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "custom-fonts", - "version": "2.1.6", + "version": "2.1.7", "main": "Gruntfile.js", "author": "Brainstorm Force", "workspaces": [ diff --git a/readme.txt b/readme.txt index d7200b2d..175e699a 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/BrainstormForce Tags: typography, fonts, custom fonts, Google Fonts, performance, privacy, full site editing, adobe fonts, GDPR Requires at least: 5.0 Tested up to: 6.6 -Stable tag: 2.1.6 +Stable tag: 2.1.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -151,6 +151,9 @@ Yes, Custom Fonts is completely free to use, without any limitation. == Changelog == += 2.1.7 +- Fix: Custom font variation getting place even after selecting the other weight and style. (Props - https://github.com/alexist-ong) + = 2.1.6 = - Improvement: Few string from admin dashboard app doesn't have text domain support. (Props - https://github.com/pedro-mendonca)