Use Any Font - Version 6.2.96

Version Description

  • Added woff2 font upload support
Download this release

Release Info

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

Code changes from version 6.2.95 to 6.2.96

includes/uaf_config.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
- $GLOBALS['uaf_current_version'] = '6.2.95';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
8
- 'allowedFontFormats' => array ('ttf','otf','woff'),
9
  'allowedFontSize' => 25, // IN MB
10
  'serverUrl' => array(
11
  'default' => 'https://server2.dnesscarkey.org',
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
+ $GLOBALS['uaf_current_version'] = '6.2.96';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
8
+ 'allowedFontFormats' => array ('woff2','ttf','otf','off'),
9
  'allowedFontSize' => 25, // IN MB
10
  'serverUrl' => array(
11
  'default' => 'https://server2.dnesscarkey.org',
includes/views/uaf_font_upload_js.php CHANGED
@@ -50,7 +50,7 @@ add_thickbox();
50
  <p>
51
  <label>Font File *</label>
52
  <span class="field">
53
- <input type="file" id="fontfile" name="fontfile" value="" class="uaf_required" accept=".woff,.ttf,.otf" />
54
  <span class="field_error">Please select font file.</span>
55
  <br/>
56
  <em>Accepted Font Format : <?php echo esc_html(join(", ",$GLOBALS['uaf_fix_settings']['allowedFontFormats'])); ?> | Font Size: Upto <?php echo esc_html($GLOBALS['uaf_fix_settings']['allowedFontSize']) ?> MB</em><br/>
50
  <p>
51
  <label>Font File *</label>
52
  <span class="field">
53
+ <input type="file" id="fontfile" name="fontfile" value="" class="uaf_required" accept=".woff2,.woff,.ttf,.otf" />
54
  <span class="field_error">Please select font file.</span>
55
  <br/>
56
  <em>Accepted Font Format : <?php echo esc_html(join(", ",$GLOBALS['uaf_fix_settings']['allowedFontFormats'])); ?> | Font Size: Upto <?php echo esc_html($GLOBALS['uaf_fix_settings']['allowedFontSize']) ?> MB</em><br/>
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: 6.0.1
6
- Stable tag: 6.2.95
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
 
@@ -149,6 +149,9 @@ Please do write us after integration and we will add it in our supported list.
149
 
150
  == Changelog ==
151
 
 
 
 
152
  = 6.2.95 =
153
  * Fixed cache issue.
154
  * Added Font list for Kadence Theme and Blocks.
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.2
6
+ Stable tag: 6.2.96
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
 
149
 
150
  == Changelog ==
151
 
152
+ = 6.2.96 =
153
+ * Added woff2 font upload support
154
+
155
  = 6.2.95 =
156
  * Fixed cache issue.
157
  * Added Font list for Kadence Theme and Blocks.
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.95
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.96
9
  Author URI: https://dineshkarki.com.np/use-any-font
10
  */
11