Version Description
- Improvement: PHP 8.0 compatibility.
Download this release
Release Info
Developer | brainstormworg |
Plugin | Custom Fonts |
Version | 1.2.6 |
Comparing to | |
See all releases |
Code changes from version 1.2.5 to 1.2.6
- custom-fonts.php +2 -2
- includes/class-bsf-custom-fonts-admin.php +2 -2
- readme.txt +8 -5
custom-fonts.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-fonts
|
9 |
-
* Version: 1.2.
|
10 |
*
|
11 |
* @package Bsf_Custom_Fonts
|
12 |
*/
|
@@ -25,7 +25,7 @@ define( 'BSF_CUSTOM_FONTS_FILE', __FILE__ );
|
|
25 |
define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
|
26 |
define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
|
27 |
define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
|
28 |
-
define( 'BSF_CUSTOM_FONTS_VER', '1.2.
|
29 |
|
30 |
/**
|
31 |
* BSF Custom Fonts
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-fonts
|
9 |
+
* Version: 1.2.6
|
10 |
*
|
11 |
* @package Bsf_Custom_Fonts
|
12 |
*/
|
25 |
define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
|
26 |
define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
|
27 |
define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
|
28 |
+
define( 'BSF_CUSTOM_FONTS_VER', '1.2.6' );
|
29 |
|
30 |
/**
|
31 |
* BSF Custom Fonts
|
includes/class-bsf-custom-fonts-admin.php
CHANGED
@@ -246,7 +246,7 @@ if ( ! class_exists( 'Bsf_Custom_Fonts_Admin' ) ) :
|
|
246 |
* @param Array $select_fields Select fields as Array.
|
247 |
* @return void
|
248 |
*/
|
249 |
-
private function select_edit_field( $id, $title, $saved_val
|
250 |
?>
|
251 |
<tr class="bsf-custom-fonts-file-wrap form-field term-<?php echo esc_attr( $id ); ?>-wrap ">
|
252 |
<th scope="row">
|
@@ -277,7 +277,7 @@ if ( ! class_exists( 'Bsf_Custom_Fonts_Admin' ) ) :
|
|
277 |
* @param string $value title font type meta values.
|
278 |
* @param string $description title font type description.
|
279 |
*/
|
280 |
-
protected function font_file_edit_field( $id, $title, $value
|
281 |
?>
|
282 |
<tr class="bsf-custom-fonts-file-wrap form-field term-<?php echo esc_attr( $id ); ?>-wrap ">
|
283 |
<th scope="row">
|
246 |
* @param Array $select_fields Select fields as Array.
|
247 |
* @return void
|
248 |
*/
|
249 |
+
private function select_edit_field( $id, $title, $saved_val, $description, $select_fields ) {
|
250 |
?>
|
251 |
<tr class="bsf-custom-fonts-file-wrap form-field term-<?php echo esc_attr( $id ); ?>-wrap ">
|
252 |
<th scope="row">
|
277 |
* @param string $value title font type meta values.
|
278 |
* @param string $description title font type description.
|
279 |
*/
|
280 |
+
protected function font_file_edit_field( $id, $title, $value, $description ) {
|
281 |
?>
|
282 |
<tr class="bsf-custom-fonts-file-wrap form-field term-<?php echo esc_attr( $id ); ?>-wrap ">
|
283 |
<th scope="row">
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: brainstormforce
|
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,7 +12,7 @@ Custom Fonts allows you to add more fonts that extend formatting options in your
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
This plugin helps you easily embed custom fonts files (woff2, woff, ttf, svg, eot, otf) easily in your WordPress website.
|
16 |
|
17 |
Currently, it works with:
|
18 |
|
@@ -43,6 +43,9 @@ If you're not using any of the supported plugins and theme, you can write the cu
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
46 |
= 1.2.5 =
|
47 |
- Fix: Font display not added properly.
|
48 |
|
@@ -59,8 +62,8 @@ If you're not using any of the supported plugins and theme, you can write the cu
|
|
59 |
- Improvement: Hardened the security of plugin
|
60 |
- Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
|
61 |
|
62 |
-
= 1.2.0 =
|
63 |
-
- Improvement: Displaying Menu after Astra options Menu.
|
64 |
|
65 |
= 1.1.0 =
|
66 |
- New: Option to select font-display property.
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 1.2.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
This plugin helps you easily embed custom fonts files (woff2, woff, ttf, svg, eot, otf) easily in your WordPress website.
|
16 |
|
17 |
Currently, it works with:
|
18 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 1.2.6 =
|
47 |
+
- Improvement: PHP 8.0 compatibility.
|
48 |
+
|
49 |
= 1.2.5 =
|
50 |
- Fix: Font display not added properly.
|
51 |
|
62 |
- Improvement: Hardened the security of plugin
|
63 |
- Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
|
64 |
|
65 |
+
= 1.2.0 =
|
66 |
+
- Improvement: Displaying Menu after Astra options Menu.
|
67 |
|
68 |
= 1.1.0 =
|
69 |
- New: Option to select font-display property.
|