Skip to content

Commit

Permalink
Make "Convert email text to link" be compatible with Divi theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
daomapsieucap committed Nov 16, 2021
1 parent 84921e2 commit aa057d2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 1.5.10 - 2021-11-16

* Changed: Make "Convert email text to link" be compatible with Divi theme.

## 1.5.9 - 2021-11-11

* Fixed: Fix error "This file type is not allowed for security reasons." when uploading SVG file.
Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
== Changelog ==

= 1.5.10=
*Release Date - 16 November 2021*

* Changed: Make "Convert email text to link" be compatible with Divi theme.

= 1.5.9=
*Release Date - 11 November 2021*

Expand Down
4 changes: 2 additions & 2 deletions fiberadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Fiber Admin
* Plugin URI: https://wordpress.org/plugins/fiber-admin/
* Description: 💈 Another helpful admin with some extra functions for WordPress backend
* Version: 1.5.9
* Version: 1.5.10
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Dao
Expand All @@ -25,7 +25,7 @@
* Definitions
*/

define('FIBERADMIN_VERSION', '1.5.9');
define('FIBERADMIN_VERSION', '1.5.10');
define("FIBERADMIN_FILENAME", __FILE__);
define("FIBERADMIN_DIR", plugin_dir_path(__FILE__));
define("FIBERADMIN_ASSETS_URL", plugin_dir_url(__FILE__) . 'assets/');
Expand Down
3 changes: 3 additions & 0 deletions includes/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public function __construct(){
// Convert email text to link
if(!fiad_get_miscellaneous_option('disable_email_converter')){
add_filter('the_content', array($this, 'fiad_auto_convert_email_address'));

// Divi theme
add_filter('et_builder_render_layout', array($this, 'fiad_auto_convert_email_address'));
}

// Content protection
Expand Down
9 changes: 4 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: white label, admin tool, duplicate post, content protection
Requires at least: 4.7
Tested up to: 5.8.2
Requires PHP: 5.6
Stable tag: 1.5.9
Stable tag: 1.5.10
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -46,8 +46,7 @@ At the first time using this setting, Fiber Admin will ask you to save it first.

== Changelog ==

= 1.5.9=
*Release Date - 11 November 2021*
= 1.5.10=
*Release Date - 16 November 2021*

* Fixed: Fix error "This file type is not allowed for security reasons." when uploading SVG file.
* Fixed: WordPress media preview is not working for SVG images.
* Changed: Make "Convert email text to link" be compatible with Divi theme.

0 comments on commit aa057d2

Please sign in to comment.