Skip to content

Commit

Permalink
Merge pull request #31 from brainstormforce/notice-kitid-fix
Browse files Browse the repository at this point in the history
chore: updated the notification string in case of invalid project ID.
  • Loading branch information
patilvikasj authored Apr 3, 2020
2 parents 168431a + 4186630 commit 7ed0d35
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 42 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Donate link:** https://www.paypal.me/BrainstormForce
**Tags:** custom adobe fonts, theme custom fonts, unlimited typekit custom fonts
**Requires at least:** 4.4
**Tested up to:** 5.3.2
**Stable tag:** 1.0.15
**Tested up to:** 5.4
**Stable tag:** 1.0.16
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu

## Changelog ##

### v1.0.16 ###
- Improvement: Updated warning strings incase of wrong project ID.

### v1.0.15 ###
- Fix: Settings page's sections showing markup instead of content.

Expand Down
2 changes: 1 addition & 1 deletion classes/class-custom-typekit-fonts-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function set_custom_typekit_fonts_notice() {
if ( isset( $_POST['custom-typekit-id-notice'] ) && $_POST['custom-typekit-id-notice'] ) {
?>
<div class="notice notice-error is-dismissible">
<p><?php esc_html_e( 'Please Enter the Valid Kit ID to get the kit details.', 'custom-typekit-fonts' ); ?></p>
<p><?php esc_html_e( 'Please enter the valid Project ID to get the kit details.', 'custom-typekit-fonts' ); ?></p>
</div>
<?php
} elseif ( isset( $_POST['custom-typekit-empty-notice'] ) && $_POST['custom-typekit-empty-notice'] ) {
Expand Down
4 changes: 2 additions & 2 deletions custom-typekit-fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: Brainstorm Force
* Author URI: http://www.brainstormforce.com
* Text Domain: custom-typekit-fonts
* Version: 1.0.15
* Version: 1.0.16
*
* @package Typekit_Custom_Fonts
*/
Expand All @@ -25,7 +25,7 @@
define( 'CUSTOM_TYPEKIT_FONTS_BASE', plugin_basename( CUSTOM_TYPEKIT_FONTS_FILE ) );
define( 'CUSTOM_TYPEKIT_FONTS_DIR', plugin_dir_path( CUSTOM_TYPEKIT_FONTS_FILE ) );
define( 'CUSTOM_TYPEKIT_FONTS_URI', plugins_url( '/', CUSTOM_TYPEKIT_FONTS_FILE ) );
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.15' );
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.16' );
/**
* BSF Custom Fonts
*/
Expand Down
Loading

0 comments on commit 7ed0d35

Please sign in to comment.