Version Description
Download this release
Release Info
Developer | dnesscarkey |
Plugin | Use Any Font |
Version | 3.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.1
- includes/uaf_font_upload.php +3 -3
- plugin_interface.php +2 -2
- readme.txt +6 -2
- use-any-font.php +1 -1
includes/uaf_font_upload.php
CHANGED
@@ -144,7 +144,7 @@ $fontsData = json_decode($fontsRawData, true);
|
|
144 |
<tr>
|
145 |
<td>Font File</td>
|
146 |
<td><input type="file" name="font_file" value="" class="required" /><br/>
|
147 |
-
<em>Accepted Font Format : ttf, otf, eot</em>
|
148 |
</td>
|
149 |
</tr>
|
150 |
<tr>
|
@@ -197,10 +197,10 @@ $fontsData = json_decode($fontsRawData, true);
|
|
197 |
jQuery("#open_add_font_form").validate({
|
198 |
rules: {
|
199 |
font_name : {required:true, maxlength:40},
|
200 |
-
font_file : {required:true, accept:'ttf|otf|eot'}
|
201 |
},
|
202 |
messages:{
|
203 |
-
font_file : {accept:'Only ttf,otf,eot font format accepted now.'}
|
204 |
}
|
205 |
});
|
206 |
}
|
144 |
<tr>
|
145 |
<td>Font File</td>
|
146 |
<td><input type="file" name="font_file" value="" class="required" /><br/>
|
147 |
+
<em>Accepted Font Format : ttf, otf, eot, woff, svg</em>
|
148 |
</td>
|
149 |
</tr>
|
150 |
<tr>
|
197 |
jQuery("#open_add_font_form").validate({
|
198 |
rules: {
|
199 |
font_name : {required:true, maxlength:40},
|
200 |
+
font_file : {required:true, accept:'ttf|otf|eot|woff|svg'}
|
201 |
},
|
202 |
messages:{
|
203 |
+
font_file : {accept:'Only ttf,otf,eot,woff,svg font format accepted now.'}
|
204 |
}
|
205 |
});
|
206 |
}
|
plugin_interface.php
CHANGED
@@ -30,8 +30,8 @@ function uaf_activate(){
|
|
30 |
|
31 |
function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
|
32 |
$uaf_version_check = get_option('uaf_current_version');
|
33 |
-
if ($uaf_version_check != '3.
|
34 |
-
update_option('uaf_current_version', '3.
|
35 |
uaf_write_css();
|
36 |
endif;
|
37 |
}
|
30 |
|
31 |
function uaf_update_check() { // MUST CHANGE WITH EVERY VERSION
|
32 |
$uaf_version_check = get_option('uaf_current_version');
|
33 |
+
if ($uaf_version_check != '3.1'):
|
34 |
+
update_option('uaf_current_version', '3.1');
|
35 |
uaf_write_css();
|
36 |
endif;
|
37 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: dnesscarkey
|
|
3 |
Tags: use any font, any font, embed any font, font embed, font uploader, css font embed, @font-face embed, font conversion
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 3.
|
7 |
|
8 |
Embed any font in your website
|
9 |
|
@@ -12,7 +12,7 @@ Use any font you wish and give your site a elegant look. No css knowledge requir
|
|
12 |
|
13 |
Click <a href="http://dineshkarki.com.np/use-any-font/demo" target="_blank">here</a> for Use Any Font working demo.
|
14 |
|
15 |
-
Use Any Font gives you freedom to use any font in your website. It is not like other font embed services which gives you countable number of fonts to select from neither the one that stores your font in remote server. You can use any font if you have its
|
16 |
|
17 |
Features
|
18 |
|
@@ -68,6 +68,10 @@ You can check our <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts"
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
|
|
71 |
= 3.0 =
|
72 |
*Major update
|
73 |
* Supports more font format now.
|
3 |
Tags: use any font, any font, embed any font, font embed, font uploader, css font embed, @font-face embed, font conversion
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 3.1
|
7 |
|
8 |
Embed any font in your website
|
9 |
|
12 |
|
13 |
Click <a href="http://dineshkarki.com.np/use-any-font/demo" target="_blank">here</a> for Use Any Font working demo.
|
14 |
|
15 |
+
Use Any Font gives you freedom to use any font in your website. It is not like other font embed services which gives you countable number of fonts to select from neither the one that stores your font in remote server. You can use any font if you have its font format (tff,otf,eot,woff,svg) without being dependent to other's server uptime.
|
16 |
|
17 |
Features
|
18 |
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 3.0 =
|
72 |
+
* Minor update
|
73 |
+
* Add woff and svg font format
|
74 |
+
|
75 |
= 3.0 =
|
76 |
*Major update
|
77 |
* Supports more font format now.
|
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: 3.
|
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: 3.1
|
8 |
Author URI: http://www.dineshkarki.com.np
|
9 |
*/
|
10 |
|