Use Any Font - Version 4.3.4

Version Description

  • License key trim added.
Download this release

Release Info

Developer dnesscarkey
Plugin Icon 128x128 Use Any Font
Version 4.3.4
Comparing to
See all releases

Code changes from version 4.3.3 to 4.3.4

includes/uaf_header.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
  if (isset($_POST['ucf_api_key_submit'])){
3
- $api_key_return = wp_remote_get('http://dnesscarkey.com/font-convertor/api/validate_key.php?license_key='.$_POST['uaf_api_key']);
 
4
 
5
  if ( is_wp_error( $api_key_return ) ) {
6
  $error_message = $api_key_return->get_error_message();
@@ -8,7 +9,7 @@ if (isset($_POST['ucf_api_key_submit'])){
8
  } else {
9
  $api_key_return = json_decode($api_key_return['body']);
10
  if ($api_key_return->status == 'success'){
11
- update_option('uaf_api_key', $_POST['uaf_api_key']);
12
  }
13
  $api_message = $api_key_return->msg;
14
  }
1
  <?php
2
  if (isset($_POST['ucf_api_key_submit'])){
3
+ $uaf_api_key = trim($_POST['uaf_api_key']);
4
+ $api_key_return = wp_remote_get('http://dnesscarkey.com/font-convertor/api/validate_key.php?license_key='.$uaf_api_key);
5
 
6
  if ( is_wp_error( $api_key_return ) ) {
7
  $error_message = $api_key_return->get_error_message();
9
  } else {
10
  $api_key_return = json_decode($api_key_return['body']);
11
  if ($api_key_return->status == 'success'){
12
+ update_option('uaf_api_key', $uaf_api_key);
13
  }
14
  $api_message = $api_key_return->msg;
15
  }
plugin_interface.php CHANGED
@@ -84,8 +84,8 @@ function uaf_activate(){
84
 
85
  function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
86
  $uaf_version_check = get_option('uaf_current_version');
87
- if ($uaf_version_check != '4.3.3'):
88
- update_option('uaf_current_version', '4.3.3');
89
  if ($uaf_version_check < 4.0):
90
  uaf_create_folder();
91
  uaf_move_file_to_newPath();
84
 
85
  function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
86
  $uaf_version_check = get_option('uaf_current_version');
87
+ if ($uaf_version_check != '4.3.4'):
88
+ update_option('uaf_current_version', '4.3.4');
89
  if ($uaf_version_check < 4.0):
90
  uaf_create_folder();
91
  uaf_move_file_to_newPath();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dnesscarkey
3
  Tags: use any font, any font, embed any font, font embed, font uploader, css3 font embed, @font-face embed, font conversion, webfont, ttf, opentype, custom fonts
4
  Requires at least: 3.0
5
  Tested up to: 4.2.2
6
- Stable tag: 4.3.3
7
 
8
  Embed any font in your website
9
 
@@ -109,6 +109,9 @@ You can check our <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts"
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 4.3.3 =
113
  * Font convertor url change.
114
 
3
  Tags: use any font, any font, embed any font, font embed, font uploader, css3 font embed, @font-face embed, font conversion, webfont, ttf, opentype, custom fonts
4
  Requires at least: 3.0
5
  Tested up to: 4.2.2
6
+ Stable tag: 4.3.4
7
 
8
  Embed any font in your website
9
 
109
 
110
  == Changelog ==
111
 
112
+ = 4.3.4 =
113
+ * License key trim added.
114
+
115
  = 4.3.3 =
116
  * Font convertor url change.
117
 
use-any-font.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Use Any Font
4
  Plugin URI: http://dineshkarki.com.np/use-any-font
5
  Description: Embed any font in your website
6
  Author: Dinesh Karki
7
- Version: 4.3.3
8
  Author URI: http://www.dineshkarki.com.np
9
  */
10
 
4
  Plugin URI: http://dineshkarki.com.np/use-any-font
5
  Description: Embed any font in your website
6
  Author: Dinesh Karki
7
+ Version: 4.3.4
8
  Author URI: http://www.dineshkarki.com.np
9
  */
10