Use Any Font - Version 6.0.2

Version Description

  • Support for older PHP versions.
Download this release

Release Info

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

Code changes from version 6.0.1 to 6.0.2

includes/functions/uaf_client_functions.php CHANGED
@@ -5,4 +5,14 @@ function uaf_client_assets() {
5
  $uaf_upload_url = $uaf_upload_url . '/useanyfont/';
6
  wp_register_style( 'uaf_client_css', $uaf_upload_url.'uaf.css', array(),get_option('uaf_css_updated_timestamp'));
7
  wp_enqueue_style( 'uaf_client_css' );
 
 
 
 
 
 
 
 
 
 
8
  }
5
  $uaf_upload_url = $uaf_upload_url . '/useanyfont/';
6
  wp_register_style( 'uaf_client_css', $uaf_upload_url.'uaf.css', array(),get_option('uaf_css_updated_timestamp'));
7
  wp_enqueue_style( 'uaf_client_css' );
8
+ }
9
+
10
+
11
+ if (!function_exists('array_key_first')) { // FOR OLDER VERSION PHP SUPPORT
12
+ function array_key_first(array $arr) {
13
+ foreach($arr as $key => $unused) {
14
+ return $key;
15
+ }
16
+ return NULL;
17
+ }
18
  }
includes/uaf_config.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- $GLOBALS['uaf_current_version'] = '6.0.1';
4
 
5
 
6
  $GLOBALS['uaf_fix_settings'] = array(
1
  <?php
2
 
3
+ $GLOBALS['uaf_current_version'] = '6.0.2';
4
 
5
 
6
  $GLOBALS['uaf_fix_settings'] = array(
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.6
6
- Stable tag: 6.0.1
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
 
@@ -143,6 +143,9 @@ Please do write us after integration and we will add it in our supported list.
143
 
144
  == Changelog ==
145
 
 
 
 
146
  = 6.0.1 =
147
  * Builder Font Family missing issue fixed.
148
 
3
  Tags: custom fonts, font embed, font uploader, typography, install font
4
  Requires at least: 3.0
5
  Tested up to: 5.6
6
+ Stable tag: 6.0.2
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
 
143
 
144
  == Changelog ==
145
 
146
+ = 6.0.2 =
147
+ * Support for older PHP versions.
148
+
149
  = 6.0.1 =
150
  * Builder Font Family missing issue fixed.
151
 
use-any-font.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Use Any Font
4
  Plugin URI: https://dineshkarki.com.np/use-any-font
5
  Description: Embed any font in your website
6
  Author: Dnesscarkey
7
- Version: 6.0.1
8
  Author URI: https://dineshkarki.com.np/use-any-font
9
  */
10
 
4
  Plugin URI: https://dineshkarki.com.np/use-any-font
5
  Description: Embed any font in your website
6
  Author: Dnesscarkey
7
+ Version: 6.0.2
8
  Author URI: https://dineshkarki.com.np/use-any-font
9
  */
10