Version Description
- Fixed Beaver weight selection issue.
Download this release
Release Info
Developer | dnesscarkey |
Plugin | Use Any Font |
Version | 6.2.94 |
Comparing to | |
See all releases |
Code changes from version 6.2.93 to 6.2.94
- includes/functions/uaf_editor_functions.php +11 -1
- includes/uaf_config.php +1 -1
- readme.txt +4 -1
- use-any-font.php +1 -1
includes/functions/uaf_editor_functions.php
CHANGED
@@ -127,9 +127,19 @@ function uaf_send_fonts_beaver_builder_list($fonts){
|
|
127 |
$fonts_uaf = array();
|
128 |
if (!empty($fontsData)):
|
129 |
foreach ($fontsData as $fontName=>$fontData):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
$fonts_uaf[$fontName] = array(
|
131 |
'fallback' => 'Verdana, Arial, sans-serif',
|
132 |
-
'weights'
|
133 |
);
|
134 |
endforeach;
|
135 |
endif;
|
127 |
$fonts_uaf = array();
|
128 |
if (!empty($fontsData)):
|
129 |
foreach ($fontsData as $fontName=>$fontData):
|
130 |
+
|
131 |
+
$variationStyles = array();
|
132 |
+
foreach ($fontData as $fontVariationKey => $fontVariationData){
|
133 |
+
if (array_key_exists('font_weight',$fontVariationData)){
|
134 |
+
$variationStyles[] = $fontVariationData['font_weight'];
|
135 |
+
} else {
|
136 |
+
$variationStyles[] = '400';
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
$fonts_uaf[$fontName] = array(
|
141 |
'fallback' => 'Verdana, Arial, sans-serif',
|
142 |
+
'weights' => $variationStyles
|
143 |
);
|
144 |
endforeach;
|
145 |
endif;
|
includes/uaf_config.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
-
$GLOBALS['uaf_current_version'] = '6.2.
|
5 |
|
6 |
|
7 |
$GLOBALS['uaf_fix_settings'] = array(
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
+
$GLOBALS['uaf_current_version'] = '6.2.94';
|
5 |
|
6 |
|
7 |
$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: 6.0
|
6 |
-
Stable tag: 6.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 |
|
@@ -148,6 +148,9 @@ Please do write us after integration and we will add it in our supported list.
|
|
148 |
|
149 |
== Changelog ==
|
150 |
|
|
|
|
|
|
|
151 |
= 6.2.93 =
|
152 |
* Fixed Divi Multi Variation Select Issue.
|
153 |
* Fixed Strong & b using dash issue.
|
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.94
|
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.94 =
|
152 |
+
* Fixed Beaver weight selection issue.
|
153 |
+
|
154 |
= 6.2.93 =
|
155 |
* Fixed Divi Multi Variation Select Issue.
|
156 |
* Fixed Strong & b using dash issue.
|
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.
|
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.94
|
9 |
Author URI: https://dineshkarki.com.np/use-any-font
|
10 |
*/
|
11 |
|