Skip to content

Commit 7ed0d35

Browse files
authored
Merge pull request #31 from brainstormforce/notice-kitid-fix
chore: updated the notification string in case of invalid project ID.
2 parents 168431a + 4186630 commit 7ed0d35

File tree

6 files changed

+220
-42
lines changed

6 files changed

+220
-42
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
**Donate link:** https://www.paypal.me/BrainstormForce
44
**Tags:** custom adobe fonts, theme custom fonts, unlimited typekit custom fonts
55
**Requires at least:** 4.4
6-
**Tested up to:** 5.3.2
7-
**Stable tag:** 1.0.15
6+
**Tested up to:** 5.4
7+
**Stable tag:** 1.0.16
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+
### v1.0.16 ###
53+
- Improvement: Updated warning strings incase of wrong project ID.
54+
5255
### v1.0.15 ###
5356
- Fix: Settings page's sections showing markup instead of content.
5457

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function set_custom_typekit_fonts_notice() {
7777
if ( isset( $_POST['custom-typekit-id-notice'] ) && $_POST['custom-typekit-id-notice'] ) {
7878
?>
7979
<div class="notice notice-error is-dismissible">
80-
<p><?php esc_html_e( 'Please Enter the Valid Kit ID to get the kit details.', 'custom-typekit-fonts' ); ?></p>
80+
<p><?php esc_html_e( 'Please enter the valid Project ID to get the kit details.', 'custom-typekit-fonts' ); ?></p>
8181
</div>
8282
<?php
8383
} elseif ( isset( $_POST['custom-typekit-empty-notice'] ) && $_POST['custom-typekit-empty-notice'] ) {

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

0 commit comments

Comments
 (0)