Version Description
- Font upload issue fixed.
Download this release
Release Info
Developer | dnesscarkey |
Plugin | Use Any Font |
Version | 4.4.4 |
Comparing to | |
See all releases |
Code changes from version 4.4.3 to 4.4.4
- includes/uaf_font_upload_js.php +1 -1
- includes/uaf_font_upload_php.php +1 -1
- includes/uaf_footer.php +1 -1
- includes/uaf_header.php +1 -1
- plugin_interface.php +2 -2
- readme.txt +5 -2
- use-any-font.php +1 -1
includes/uaf_font_upload_js.php
CHANGED
@@ -196,7 +196,7 @@ jQuery('#open_add_font_form')
|
|
196 |
if(! $formValid.valid()) return false;
|
197 |
|
198 |
jQuery.ajax( {
|
199 |
-
url: 'https://dnesscarkey.
|
200 |
type: 'POST',
|
201 |
data: new FormData( this ),
|
202 |
processData: false,
|
196 |
if(! $formValid.valid()) return false;
|
197 |
|
198 |
jQuery.ajax( {
|
199 |
+
url: 'https://dnesscarkey.xyz/font-convertor/convertor/convert.php',
|
200 |
type: 'POST',
|
201 |
data: new FormData( this ),
|
202 |
processData: false,
|
includes/uaf_font_upload_php.php
CHANGED
@@ -26,7 +26,7 @@ if (isset($_POST['submit-uaf-font'])){
|
|
26 |
set_time_limit(0);
|
27 |
$ch = curl_init();
|
28 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
29 |
-
curl_setopt($ch, CURLOPT_URL, 'http://dnesscarkey.
|
30 |
curl_setopt($ch, CURLOPT_POST, true);
|
31 |
$post = array(
|
32 |
'fontfile' => "@".$_FILES['font_file']['tmp_name'],
|
26 |
set_time_limit(0);
|
27 |
$ch = curl_init();
|
28 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
29 |
+
curl_setopt($ch, CURLOPT_URL, 'http://dnesscarkey.xyz/font-convertor/convertor/convert.php');
|
30 |
curl_setopt($ch, CURLOPT_POST, true);
|
31 |
$post = array(
|
32 |
'fontfile' => "@".$_FILES['font_file']['tmp_name'],
|
includes/uaf_footer.php
CHANGED
@@ -5,7 +5,7 @@ if (isset($_POST['test_server']) || empty($server_status)){
|
|
5 |
$test_code = date('ymdhis');
|
6 |
$ch_test = curl_init();
|
7 |
curl_setopt($ch_test, CURLOPT_RETURNTRANSFER, true);
|
8 |
-
curl_setopt($ch_test, CURLOPT_URL, 'http://dnesscarkey.
|
9 |
curl_setopt($ch_test, CURLOPT_POST, true);
|
10 |
$post = array(
|
11 |
'test_code' => $test_code
|
5 |
$test_code = date('ymdhis');
|
6 |
$ch_test = curl_init();
|
7 |
curl_setopt($ch_test, CURLOPT_RETURNTRANSFER, true);
|
8 |
+
curl_setopt($ch_test, CURLOPT_URL, 'http://dnesscarkey.xyz/font-convertor/server/check.php');
|
9 |
curl_setopt($ch_test, CURLOPT_POST, true);
|
10 |
$post = array(
|
11 |
'test_code' => $test_code
|
includes/uaf_header.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if (isset($_POST['ucf_api_key_submit'])){
|
3 |
$uaf_api_key = trim($_POST['uaf_api_key']);
|
4 |
-
$api_key_return = wp_remote_get('http://dnesscarkey.
|
5 |
|
6 |
if ( is_wp_error( $api_key_return ) ) {
|
7 |
$error_message = $api_key_return->get_error_message();
|
1 |
<?php
|
2 |
if (isset($_POST['ucf_api_key_submit'])){
|
3 |
$uaf_api_key = trim($_POST['uaf_api_key']);
|
4 |
+
$api_key_return = wp_remote_get('http://dnesscarkey.xyz/font-convertor/api/validate_key.php?license_key='.$uaf_api_key, array('timeout'=>300,'sslverify'=>false));
|
5 |
|
6 |
if ( is_wp_error( $api_key_return ) ) {
|
7 |
$error_message = $api_key_return->get_error_message();
|
plugin_interface.php
CHANGED
@@ -84,8 +84,8 @@ function uaf_activate(){
|
|
84 |
|
85 |
function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
|
86 |
$uaf_version_check = get_option('uaf_current_version');
|
87 |
-
if ($uaf_version_check != '4.4.
|
88 |
-
update_option('uaf_current_version', '4.4.
|
89 |
if ($uaf_version_check < 4.0):
|
90 |
uaf_create_folder();
|
91 |
uaf_move_file_to_newPath();
|
84 |
|
85 |
function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
|
86 |
$uaf_version_check = get_option('uaf_current_version');
|
87 |
+
if ($uaf_version_check != '4.4.4'):
|
88 |
+
update_option('uaf_current_version', '4.4.4');
|
89 |
if ($uaf_version_check < 4.0):
|
90 |
uaf_create_folder();
|
91 |
uaf_move_file_to_newPath();
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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.
|
6 |
-
Stable tag: 4.4.
|
7 |
|
8 |
Embed any font in your website
|
9 |
|
@@ -109,6 +109,9 @@ You can check our <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts"
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
112 |
= 4.4.3 =
|
113 |
* Fixed couldn't receive font file issue.
|
114 |
|
2 |
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.5
|
6 |
+
Stable tag: 4.4.4
|
7 |
|
8 |
Embed any font in your website
|
9 |
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 4.4.4 =
|
113 |
+
* Font upload issue fixed.
|
114 |
+
|
115 |
= 4.4.3 =
|
116 |
* Fixed couldn't receive font file issue.
|
117 |
|
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.4.
|
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.4.4
|
8 |
Author URI: http://www.dineshkarki.com.np
|
9 |
*/
|
10 |
|