Use Any Font - Version 6.2.92

Version Description

  • Fixed language select issue.
Download this release

Release Info

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

Code changes from version 6.2.91 to 6.2.92

includes/functions/uaf_admin_functions.php CHANGED
@@ -168,7 +168,7 @@ function uaf_save_options(){
168
 
169
  $all_fields_name = array(
170
  'uaf_server_url_type',
171
- 'uaf_uploader_type',
172
  'uaf_use_absolute_font_path',
173
  'uaf_disbale_editor_font_list',
174
  'uaf_enable_multi_lang_support',
168
 
169
  $all_fields_name = array(
170
  'uaf_server_url_type',
171
+ //'uaf_uploader_type',
172
  'uaf_use_absolute_font_path',
173
  'uaf_disbale_editor_font_list',
174
  'uaf_enable_multi_lang_support',
includes/functions/uaf_font_functions.php CHANGED
@@ -266,7 +266,7 @@ function uaf_get_language_selector(){
266
  $returnSelectHTML = '<select style="width:200px;" class="uaf_required" name="language"><option selected="selected" value="">- Select - </option><option value="all_lang">All Languages</option>';
267
  foreach ($lang_select_data as $locale => $lang_name) {
268
  //$returnSelectHTML .= '<option value="body.language-'.$locale.'">'.$lang_name.'</option>';
269
- $returnSelectHTML .= '<option value="html:lang('.$locale.')">'.$lang_name.'</option>';
270
  }
271
  $returnSelectHTML .= '</select>';
272
  } else {
266
  $returnSelectHTML = '<select style="width:200px;" class="uaf_required" name="language"><option selected="selected" value="">- Select - </option><option value="all_lang">All Languages</option>';
267
  foreach ($lang_select_data as $locale => $lang_name) {
268
  //$returnSelectHTML .= '<option value="body.language-'.$locale.'">'.$lang_name.'</option>';
269
+ $returnSelectHTML .= '<option value="html:lang('.esc_attr($locale).')">'.esc_attr($lang_name).'</option>';
270
  }
271
  $returnSelectHTML .= '</select>';
272
  } else {
includes/uaf_config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
- $GLOBALS['uaf_current_version'] = '6.2.91';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit;
3
 
4
+ $GLOBALS['uaf_current_version'] = '6.2.92';
5
 
6
 
7
  $GLOBALS['uaf_fix_settings'] = array(
includes/views/uaf_font_assign.php CHANGED
@@ -31,7 +31,7 @@ $fontsDataWithVariations = uaf_group_fontdata_by_fontname($fontsData);
31
  if ($languageSelector['enableMultiLang'] == TRUE ): ?>
32
  <tr>
33
  <td width="175">Select Language</td>
34
- <td><?php echo esc_html($languageSelector['selectHTML']); ?></td>
35
  </tr>
36
  <?php endif; ?>
37
  <tr>
31
  if ($languageSelector['enableMultiLang'] == TRUE ): ?>
32
  <tr>
33
  <td width="175">Select Language</td>
34
+ <td><?php echo $languageSelector['selectHTML']; ?></td>
35
  </tr>
36
  <?php endif; ?>
37
  <tr>
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.91
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.91 =
152
  * Fixed warning message close issue.
153
 
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.92
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.92 =
152
+ * Fixed language select issue.
153
+
154
  = 6.2.91 =
155
  * Fixed warning message close issue.
156
 
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.91
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.92
9
  Author URI: https://dineshkarki.com.np/use-any-font
10
  */
11