diff --git a/README.md b/README.md index de77580..71a72e4 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# Custom Typekit Fonts # -**Contributors:** [brainstormforce](https://profiles.wordpress.org/brainstormforce) +# Custom Adobe Fonts (Typekit) # +**Contributors:** [brainstormforce](https://profiles.wordpress.org/brainstormforce) **Donate link:** https://www.paypal.me/BrainstormForce -**Tags:** custom typekit fonts, theme custom fonts, unlimited typekit custom fonts +**Tags:** custom adobe fonts, theme custom fonts, unlimited typekit custom fonts **Requires at least:** 4.4 **Tested up to:** 5.1 -**Stable tag:** 1.0.10 +**Stable tag:** 1.0.11 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html -Custom Typekit Fonts allows you to extends the fonts supports from the Typekit. +Custom Adobe Fonts allows you to extends the fonts supports from the Typekit. ## Description ## -This plugin helps you easily embed Typekit fonts easily in your WordPress website. +This plugin helps you easily embed adobe fonts easily in your WordPress website. Currently it works with: @@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu ## Changelog ## +### v1.0.11 ### +- Improvement: Allow whitelabel settings to be setup from using constants when using Astra Pro. + ### v1.0.10 ### - Fix: Remove typekit font from the Astra Theme's google fonts URL. diff --git a/classes/class-custom-typekit-fonts-admin.php b/classes/class-custom-typekit-fonts-admin.php index 61b0d90..f5563e0 100644 --- a/classes/class-custom-typekit-fonts-admin.php +++ b/classes/class-custom-typekit-fonts-admin.php @@ -103,7 +103,7 @@ public function set_custom_typekit_fonts_notice() { */ public function register_custom_fonts_menu() { - $title = apply_filters( 'custom_typekit_fonts_menu_title', __( 'Typekit Fonts', 'custom-typekit-fonts' ) ); + $title = apply_filters( 'custom_typekit_fonts_menu_title', __( 'Adobe Fonts', 'custom-typekit-fonts' ) ); add_submenu_page( 'themes.php', diff --git a/classes/class-typekit-fonts-white-label.php b/classes/class-typekit-fonts-white-label.php index a62fef2..e3151cf 100644 --- a/classes/class-typekit-fonts-white-label.php +++ b/classes/class-typekit-fonts-white-label.php @@ -72,7 +72,7 @@ public function __construct() { */ function plugins_page( $plugins ) { - if ( ! is_callable( 'Astra_Ext_White_Label_Markup::get_white_label' ) ) { + if ( ! is_callable( 'Astra_Ext_White_Label_Markup::get_whitelabel_string' ) ) { return $plugins; } @@ -81,10 +81,10 @@ function plugins_page( $plugins ) { } // Set White Labels. - $name = Astra_Ext_White_Label_Markup::get_white_label( 'custom-typekit-fonts', 'name' ); - $description = Astra_Ext_White_Label_Markup::get_white_label( 'custom-typekit-fonts', 'description' ); - $author = Astra_Ext_White_Label_Markup::get_white_label( 'astra-agency', 'author' ); - $author_uri = Astra_Ext_White_Label_Markup::get_white_label( 'astra-agency', 'author_url' ); + $name = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'custom-typekit-fonts', 'name' ); + $description = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'custom-typekit-fonts', 'description' ); + $author = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'astra-agency', 'author' ); + $author_uri = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'astra-agency', 'author_url' ); if ( ! empty( $name ) ) { $plugins[ CUSTOM_TYPEKIT_FONTS_BASE ]['Name'] = $name; @@ -117,12 +117,13 @@ function plugins_page( $plugins ) { */ function white_label_custom_typekit_fonts_title( $title ) { - if ( is_callable( 'Astra_Ext_White_Label_Markup::get_white_label' ) ) { - $name = Astra_Ext_White_Label_Markup::get_white_label( 'custom-typekit-fonts', 'name' ); + if ( is_callable( 'Astra_Ext_White_Label_Markup::get_whitelabel_string' ) ) { + $name = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'custom-typekit-fonts', 'name' ); if ( ! empty( $name ) ) { $title = $name; } } + return $title; } @@ -138,11 +139,11 @@ function white_label_custom_typekit_fonts_title( $title ) { */ public function plugin_links( $plugin_meta, $plugin_file, $plugin_data ) { - if ( is_callable( 'Astra_Ext_White_Label_Markup::get_white_label' ) ) { + if ( is_callable( 'Astra_Ext_White_Label_Markup::get_whitelabel_string' ) ) { if ( CUSTOM_TYPEKIT_FONTS_BASE == $plugin_file ) { // Set White Labels. - $name = Astra_Ext_White_Label_Markup::get_white_label( 'custom-typekit-fonts', 'name' ); - $description = Astra_Ext_White_Label_Markup::get_white_label( 'custom-typekit-fonts', 'description' ); + $name = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'custom-typekit-fonts', 'name' ); + $description = Astra_Ext_White_Label_Markup::get_whitelabel_string( 'custom-typekit-fonts', 'description' ); if ( ! empty( $name ) ) { // Remove Plugin URI if Agency White Label name is set. diff --git a/custom-typekit-fonts.php b/custom-typekit-fonts.php index c01df4a..5f7567a 100644 --- a/custom-typekit-fonts.php +++ b/custom-typekit-fonts.php @@ -1,12 +1,12 @@ here from your " -"Typekit Account. Kit ID can be found next to the kit names." +"You can get the Project ID here from " +"your Typekit Account. Project ID can be found next to the kit names." msgstr "" #: templates/custom-typekit-fonts-options.php:123 @@ -117,20 +123,20 @@ msgstr "" msgid "Go To Customizer" msgstr "" -#: templates/white-label.php:12 templates/white-label.php:17 +#: templates/white-label.php:18 templates/white-label.php:23 msgid "Custom Typekit Fonts Branding" msgstr "" -#: templates/white-label.php:23 +#: templates/white-label.php:29 msgid "Plugin Name:" msgstr "" -#: templates/white-label.php:28 +#: templates/white-label.php:34 msgid "Plugin Description:" msgstr "" #. Plugin Name of the plugin/theme -msgid "Custom Typekit Fonts" +msgid "Custom Adobe Fonts (Typekit)" msgstr "" #. Plugin URI of the plugin/theme @@ -139,7 +145,7 @@ msgstr "" #. Description of the plugin/theme msgid "" -"Custom Typekit Fonts allows you to extends the fonts supports from the " +"Custom Adobe Fonts allows you to extends the fonts supports from the " "Typekit." msgstr "" diff --git a/package-lock.json b/package-lock.json index 34ead89..bcbf039 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "custom-typekit-fonts", - "version": "1.0.8", + "version": "1.0.10", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -70,12 +70,6 @@ "concat-map": "0.0.1" } }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true - }, "camelcase": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", @@ -93,9 +87,9 @@ } }, "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -110,18 +104,18 @@ "dev": true }, "color-convert": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", - "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { - "color-name": "1.1.1" + "color-name": "1.1.3" } }, "color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, "colors": { @@ -186,9 +180,9 @@ "dev": true }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, "eventemitter2": { @@ -281,15 +275,15 @@ } }, "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", "dev": true }, "grunt": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.0.3.tgz", - "integrity": "sha512-/JzmZNPfKorlCrrmxWqQO4JVodO+DVd5XX4DkocL/1WlLlKVLE9+SdEIempOAxDhWPysLle6afvn/hg7Ck2k9g==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.0.4.tgz", + "integrity": "sha512-PYsMOrOC+MsdGEkFVwMaMyc6Ob7pKmq+deg1Sjr+vvMWp35sztfwKE7qoN51V+UEtHsyNuMcGdgMLFkBHvMxHQ==", "dev": true, "requires": { "coffeescript": "~1.10.0", @@ -303,7 +297,7 @@ "grunt-legacy-log": "~2.0.0", "grunt-legacy-util": "~1.1.1", "iconv-lite": "~0.4.13", - "js-yaml": "~3.5.2", + "js-yaml": "~3.13.0", "minimatch": "~3.0.2", "mkdirp": "~0.5.1", "nopt": "~3.0.6", @@ -322,13 +316,19 @@ "nopt": "~3.0.6", "resolve": "~1.1.0" } + }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true } } }, "grunt-known-options": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.0.tgz", - "integrity": "sha1-pCdO6zL6dl2lp6OxcSYXzjsUQUk=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz", + "integrity": "sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==", "dev": true }, "grunt-legacy-log": { @@ -442,15 +442,6 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", - "dev": true, - "requires": { - "builtin-modules": "^1.0.0" - } - }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", @@ -473,13 +464,13 @@ "dev": true }, "js-yaml": { - "version": "3.5.5", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.5.5.tgz", - "integrity": "sha1-A3fDgBfKvHMisNH7zSWkkWQfL74=", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.0.tgz", + "integrity": "sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==", "dev": true, "requires": { - "argparse": "^1.0.2", - "esprima": "^2.6.0" + "argparse": "^1.0.7", + "esprima": "^4.0.0" } }, "load-json-file": { @@ -496,9 +487,9 @@ } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", "dev": true }, "loud-rejection": { @@ -592,13 +583,13 @@ } }, "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "requires": { "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", + "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } @@ -654,6 +645,12 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, "path-type": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", @@ -738,18 +735,37 @@ } }, "resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", - "dev": true + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", + "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } }, "rimraf": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "requires": { - "glob": "^7.0.5" + "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "safe-buffer": { @@ -765,9 +781,9 @@ "dev": true }, "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", "dev": true }, "signal-exit": { @@ -777,9 +793,9 @@ "dev": true }, "spdx-correct": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", - "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -787,9 +803,9 @@ } }, "spdx-exceptions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", - "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", "dev": true }, "spdx-expression-parse": { @@ -803,15 +819,15 @@ } }, "spdx-license-ids": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", - "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz", + "integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g==", "dev": true }, "sprintf-js": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.1.tgz", - "integrity": "sha1-Nr54Mgr+WAH2zqPueLblqrlA6gw=", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", + "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", "dev": true }, "string_decoder": { @@ -842,9 +858,9 @@ } }, "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" @@ -866,9 +882,9 @@ "dev": true }, "underscore.string": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.4.tgz", - "integrity": "sha1-LCo/n4PmR2L9xF5s6sZRQoZCE9s=", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", + "integrity": "sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==", "dev": true, "requires": { "sprintf-js": "^1.0.3", @@ -882,9 +898,9 @@ "dev": true }, "validate-npm-package-license": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", - "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "requires": { "spdx-correct": "^3.0.0", diff --git a/package.json b/package.json index ce258e2..9676f23 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "main": "Gruntfile.js", "author": "YOUR NAME HERE", "devDependencies": { - "grunt": "~1.0.3", + "grunt": "~1.0.4", "grunt-wp-i18n": "~1.0.3", "grunt-wp-readme-to-markdown": "~2.0.1" } diff --git a/readme.txt b/readme.txt index af5dec8..1fa3e94 100644 --- a/readme.txt +++ b/readme.txt @@ -1,18 +1,18 @@ -=== Custom Typekit Fonts === +=== Custom Adobe Fonts (Typekit) === Contributors: brainstormforce Donate link: https://www.paypal.me/BrainstormForce -Tags: custom typekit fonts, theme custom fonts, unlimited typekit custom fonts +Tags: custom adobe fonts, theme custom fonts, unlimited typekit custom fonts Requires at least: 4.4 Tested up to: 5.1 -Stable tag: 1.0.10 +Stable tag: 1.0.11 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Custom Typekit Fonts allows you to extends the fonts supports from the Typekit. +Custom Adobe Fonts allows you to extends the fonts supports from the Typekit. == Description == -This plugin helps you easily embed Typekit fonts easily in your WordPress website. +This plugin helps you easily embed adobe fonts easily in your WordPress website. Currently it works with: @@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu == Changelog == += v1.0.11 = +- Improvement: Allow whitelabel settings to be setup from using constants when using Astra Pro. + = v1.0.10 = - Fix: Remove typekit font from the Astra Theme's google fonts URL. diff --git a/templates/custom-typekit-fonts-options.php b/templates/custom-typekit-fonts-options.php index 89e16c9..238db57 100644 --- a/templates/custom-typekit-fonts-options.php +++ b/templates/custom-typekit-fonts-options.php @@ -8,7 +8,7 @@ $kit_info = get_option( 'custom-typekit-fonts' ); ?>