Use Any Font - Version 4.7.1

Version Description

  • Divi Theme Issue Fixes.
Download this release

Release Info

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

Code changes from version 4.7 to 4.7.1

Files changed (3) hide show
  1. plugin_interface.php +4 -3
  2. readme.txt +4 -1
  3. use-any-font.php +1 -1
plugin_interface.php CHANGED
@@ -52,6 +52,7 @@ add_filter('et_websafe_fonts', 'uaf_send_fonts_divi_list',10,2);
52
  function uaf_send_fonts_divi_list($fonts){
53
  $fontsRawData = get_option('uaf_font_data');
54
  $fontsData = json_decode($fontsRawData, true);
 
55
  if (!empty($fontsData)):
56
  foreach ($fontsData as $key=>$fontData):
57
  $fonts_uaf[$fontData['font_name']] = array(
@@ -108,8 +109,8 @@ function uaf_activate(){
108
 
109
  function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
110
  $uaf_version_check = get_option('uaf_current_version');
111
- if ($uaf_version_check != '4.7'):
112
- update_option('uaf_current_version', '4.7');
113
  if ($uaf_version_check < 4.0):
114
  uaf_create_folder();
115
  uaf_move_file_to_newPath();
@@ -199,7 +200,7 @@ function uaf_write_css(){
199
 
200
  if ($uaf_use_absolute_font_path == 0){ // If user use relative path
201
  $url_parts = parse_url($uaf_upload_url);
202
- $uaf_upload_url = "$url_parts[path]$url_parts[query]$url_parts[fragment]";
203
  }
204
 
205
  ob_start();
52
  function uaf_send_fonts_divi_list($fonts){
53
  $fontsRawData = get_option('uaf_font_data');
54
  $fontsData = json_decode($fontsRawData, true);
55
+ $fonts_uaf = array();
56
  if (!empty($fontsData)):
57
  foreach ($fontsData as $key=>$fontData):
58
  $fonts_uaf[$fontData['font_name']] = array(
109
 
110
  function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
111
  $uaf_version_check = get_option('uaf_current_version');
112
+ if ($uaf_version_check != '4.7.1'):
113
+ update_option('uaf_current_version', '4.7.1');
114
  if ($uaf_version_check < 4.0):
115
  uaf_create_folder();
116
  uaf_move_file_to_newPath();
200
 
201
  if ($uaf_use_absolute_font_path == 0){ // If user use relative path
202
  $url_parts = parse_url($uaf_upload_url);
203
+ @$uaf_upload_url = "$url_parts[path]$url_parts[query]$url_parts[fragment]";
204
  }
205
 
206
  ob_start();
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.7.3
6
- Stable tag: 4.7
7
 
8
  Embed any font in your website
9
 
@@ -110,6 +110,9 @@ You can check our <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts"
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 4.7 =
114
  * Full Support For Divi Admin Visual Builder
115
  * Use of relative path as default nowonwards
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.7.3
6
+ Stable tag: 4.7.1
7
 
8
  Embed any font in your website
9
 
110
 
111
  == Changelog ==
112
 
113
+ = 4.7.1 =
114
+ * Divi Theme Issue Fixes.
115
+
116
  = 4.7 =
117
  * Full Support For Divi Admin Visual Builder
118
  * Use of relative path as default nowonwards
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.7
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.7.1
8
  Author URI: http://www.dineshkarki.com.np
9
  */
10