Use Any Font - Version 6.2.9

Version Description

  • Fixed warning message for font style
  • Tested with PHP 8.1
Download this release

Release Info

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

Code changes from version 6.2.8 to 6.2.9

includes/uaf_config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
- $GLOBALS['uaf_current_version'] = '6.2.8';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
+ $GLOBALS['uaf_current_version'] = '6.2.9';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
includes/views/uaf_uploaded_font_list.php CHANGED
@@ -30,7 +30,7 @@ if (!empty($fontsData)):
30
  </div>
31
  <?php endif; ?>
32
 
33
- <span class="<?php echo esc_attr($fontData['font_name']) ?>" style="font-weight:<?php echo esc_attr($fontData['font_weight']); ?>; font-style: <?php echo esc_attr($fontData['font_style']); ?>;">The quick brown fox jumps over the lazy dog</span>
34
 
35
  <div class="delete_link"><a onclick="if (!confirm('Are you sure ?')){return false;}" href="<?php echo wp_nonce_url( 'admin.php?page=use-any-font&tab=font_upload&delete_font_key='.$key, 'uaf_delete_font', 'uaf_nonce' ); ?>">Delete</a></div>
36
  </div>
30
  </div>
31
  <?php endif; ?>
32
 
33
+ <span class="<?php echo esc_attr($fontData['font_name']) ?>" style="font-weight:<?php echo esc_attr(array_key_exists('font_weight', $fontData)?$fontData['font_weight']:''); ?>; font-style: <?php echo esc_attr(array_key_exists('font_style', $fontData)?$fontData['font_style']:''); ?>;">The quick brown fox jumps over the lazy dog</span>
34
 
35
  <div class="delete_link"><a onclick="if (!confirm('Are you sure ?')){return false;}" href="<?php echo wp_nonce_url( 'admin.php?page=use-any-font&tab=font_upload&delete_font_key='.$key, 'uaf_delete_font', 'uaf_nonce' ); ?>">Delete</a></div>
36
  </div>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.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,6 +148,10 @@ Please do write us after integration and we will add it in our supported list.
148
 
149
  == Changelog ==
150
 
 
 
 
 
151
  = 6.2.8 =
152
  * Sanitization.
153
 
2
  Contributors: dnesscarkey
3
  Tags: custom fonts, font embed, font uploader, typography, install font
4
  Requires at least: 3.0
5
+ Tested up to: 6.0
6
+ Stable tag: 6.2.9
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.9 =
152
+ * Fixed warning message for font style
153
+ * Tested with PHP 8.1
154
+
155
  = 6.2.8 =
156
  * Sanitization.
157
 
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.8
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.9
9
  Author URI: https://dineshkarki.com.np/use-any-font
10
  */
11