Use Any Font - Version 6.2.8

Version Description

  • Sanitization.
Download this release

Release Info

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

Code changes from version 6.2.7 to 6.2.8

includes/uaf_config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
- $GLOBALS['uaf_current_version'] = '6.2.7';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
+ $GLOBALS['uaf_current_version'] = '6.2.8';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
includes/views/uaf_font_upload_js.php CHANGED
@@ -60,7 +60,7 @@ add_thickbox();
60
  <label>&nbsp;</label>
61
  <span class="field">
62
  <span id="font_upload_message" class=""></span>
63
- <input type="hidden" name="url" value="<?php echo base64_decode($GLOBALS['uaf_user_settings']['uaf_activated_url']); ?>" />
64
  <input type="hidden" name="api_key" value="<?php echo esc_attr($GLOBALS['uaf_user_settings']['uaf_api_key']); ?>" />
65
  <input type="hidden" name="font_count" value="<?php echo uaf_count_uploaded_fonts(); ?>" />
66
  <input type="hidden" name="convert_response" id="convert_response" value="" />
60
  <label>&nbsp;</label>
61
  <span class="field">
62
  <span id="font_upload_message" class=""></span>
63
+ <input type="hidden" name="url" value="<?php echo esc_attr(base64_decode($GLOBALS['uaf_user_settings']['uaf_activated_url'])); ?>" />
64
  <input type="hidden" name="api_key" value="<?php echo esc_attr($GLOBALS['uaf_user_settings']['uaf_api_key']); ?>" />
65
  <input type="hidden" name="font_count" value="<?php echo uaf_count_uploaded_fonts(); ?>" />
66
  <input type="hidden" name="convert_response" id="convert_response" value="" />
includes/views/uaf_font_upload_php.php CHANGED
@@ -60,7 +60,7 @@ add_thickbox();
60
  <p>
61
  <label>&nbsp;</label>
62
  <span class="field">
63
- <input type="hidden" name="url" value="<?php echo base64_decode($GLOBALS['uaf_user_settings']['uaf_activated_url']); ?>" />
64
  <input type="hidden" name="api_key" value="<?php echo esc_attr($GLOBALS['uaf_user_settings']['uaf_api_key']); ?>" />
65
  <input type="hidden" name="font_count" value="<?php echo uaf_count_uploaded_fonts(); ?>" />
66
  <input type="submit" name="submit-uaf-font-php" class="button-primary" value="Upload" />
60
  <p>
61
  <label>&nbsp;</label>
62
  <span class="field">
63
+ <input type="hidden" name="url" value="<?php echo esc_attr(base64_decode($GLOBALS['uaf_user_settings']['uaf_activated_url'])); ?>" />
64
  <input type="hidden" name="api_key" value="<?php echo esc_attr($GLOBALS['uaf_user_settings']['uaf_api_key']); ?>" />
65
  <input type="hidden" name="font_count" value="<?php echo uaf_count_uploaded_fonts(); ?>" />
66
  <input type="submit" name="submit-uaf-font-php" class="button-primary" value="Upload" />
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dnesscarkey
3
  Tags: custom fonts, font embed, font uploader, typography, install font
4
  Requires at least: 3.0
5
  Tested up to: 5.9
6
- Stable tag: 6.2.7
7
 
8
  Embed any custom font using font uploader and assign to elements. Upload font in 1 format and other needed formats are auto converted even woff2.
9
 
@@ -148,8 +148,8 @@ Please do write us after integration and we will add it in our supported list.
148
 
149
  == Changelog ==
150
 
151
- = 6.2.7 =
152
- * Early sanitization.
153
 
154
  = 6.2.6 =
155
  * Removed use of PHP uploader.
3
  Tags: custom fonts, font embed, font uploader, typography, install font
4
  Requires at least: 3.0
5
  Tested up to: 5.9
6
+ Stable tag: 6.2.8
7
 
8
  Embed any custom font using font uploader and assign to elements. Upload font in 1 format and other needed formats are auto converted even woff2.
9
 
148
 
149
  == Changelog ==
150
 
151
+ = 6.2.8 =
152
+ * Sanitization.
153
 
154
  = 6.2.6 =
155
  * Removed use of PHP uploader.
use-any-font.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Use Any Font
5
  Plugin URI: https://dineshkarki.com.np/use-any-font
6
  Description: Embed any font in your website
7
  Author: Dnesscarkey
8
- Version: 6.2.7
9
  Author URI: https://dineshkarki.com.np/use-any-font
10
  */
11
 
5
  Plugin URI: https://dineshkarki.com.np/use-any-font
6
  Description: Embed any font in your website
7
  Author: Dnesscarkey
8
+ Version: 6.2.8
9
  Author URI: https://dineshkarki.com.np/use-any-font
10
  */
11