Version Description
Download this release
Release Info
Developer | ironikus |
Plugin | Email Encoder Bundle – Protect Email Address |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
core/includes/assets/img/icon-pluginplate.png
ADDED
Binary file
|
core/includes/classes/class-email-encoder-bundle-validate.php
CHANGED
@@ -199,7 +199,10 @@ class Email_Encoder_Validate{
|
|
199 |
return preg_replace_callback( EEB()->settings->get_email_regex(), function ( $matches ) use ( $replace_by, $protection_method, $show_encoded_check, $self ) {
|
200 |
// workaround to skip responsive image names containing @
|
201 |
$extention = strtolower( $matches[4] );
|
202 |
-
$excludedList = array('.jpg', '.jpeg', '.png', '.gif');
|
|
|
|
|
|
|
203 |
|
204 |
if ( in_array( $extention, $excludedList ) ) {
|
205 |
return $matches[0];
|
199 |
return preg_replace_callback( EEB()->settings->get_email_regex(), function ( $matches ) use ( $replace_by, $protection_method, $show_encoded_check, $self ) {
|
200 |
// workaround to skip responsive image names containing @
|
201 |
$extention = strtolower( $matches[4] );
|
202 |
+
$excludedList = array('.jpg', '.jpeg', '.png', '.gif', '.svg');
|
203 |
+
|
204 |
+
//Added in 2.1.1
|
205 |
+
$excludedList = apply_filters( 'eeb/validate/excluded_image_urls', $excludedList );
|
206 |
|
207 |
if ( in_array( $extention, $excludedList ) ) {
|
208 |
return $matches[0];
|
core/includes/partials/widgets/sidebar.php
CHANGED
@@ -52,6 +52,12 @@
|
|
52 |
<br /><a href="<?php echo admin_url( $mulsitie_slug . 'plugin-install.php?s=WP+Webhooks&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wordpress.org/plugins/wp-webhooks/" title="Go to WordPress.org" target="_blank">More info</a>
|
53 |
</p>
|
54 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
<li>
|
56 |
<h4><img src="<?php echo plugins_url('core/includes/assets/img/icon-wp-snow.png', EEB_PLUGIN_FILE) ?>"> WP Snow</h4>
|
57 |
<p>Make your website something special with this awesome flakes animation plugin. Make snowflakes, falling snowmans, custom text or any other of the 1300+ icons glide over your website.
|
52 |
<br /><a href="<?php echo admin_url( $mulsitie_slug . 'plugin-install.php?s=WP+Webhooks&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wordpress.org/plugins/wp-webhooks/" title="Go to WordPress.org" target="_blank">More info</a>
|
53 |
</p>
|
54 |
</li>
|
55 |
+
<li>
|
56 |
+
<h4><img src="<?php echo plugins_url('core/includes/assets/img/icon-pluginplate.png', EEB_PLUGIN_FILE) ?>"> Pluginplate</h4>
|
57 |
+
<p>Create professional and beautifully written WordPress plugin templates with your finger tip. Its free and available at pluginplate.com
|
58 |
+
<br /><a href="https://pluginplate.com/" target="_blank">Go to Pluginplate.com</a>
|
59 |
+
</p>
|
60 |
+
</li>
|
61 |
<li>
|
62 |
<h4><img src="<?php echo plugins_url('core/includes/assets/img/icon-wp-snow.png', EEB_PLUGIN_FILE) ?>"> WP Snow</h4>
|
63 |
<p>Make your website something special with this awesome flakes animation plugin. Make snowflakes, falling snowmans, custom text or any other of the 1300+ icons glide over your website.
|
email-encoder-bundle.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Email Encoder - Protect Email Addresses
|
4 |
-
* Version: 2.1.
|
5 |
* Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
|
6 |
* Description: Protect email addresses on your site and hide them from spambots. Easy to use & flexible.
|
7 |
* Author: Ironikus
|
@@ -22,7 +22,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
22 |
define( 'EEB_NAME', 'Email Encoder' );
|
23 |
|
24 |
// Plugin version.
|
25 |
-
define( 'EEB_VERSION', '2.1.
|
26 |
|
27 |
// Determines if the plugin is loaded
|
28 |
define( 'EEB_SETUP', true );
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Email Encoder - Protect Email Addresses
|
4 |
+
* Version: 2.1.1
|
5 |
* Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
|
6 |
* Description: Protect email addresses on your site and hide them from spambots. Easy to use & flexible.
|
7 |
* Author: Ironikus
|
22 |
define( 'EEB_NAME', 'Email Encoder' );
|
23 |
|
24 |
// Plugin version.
|
25 |
+
define( 'EEB_VERSION', '2.1.1' );
|
26 |
|
27 |
// Determines if the plugin is loaded
|
28 |
define( 'EEB_SETUP', true );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ironikus
|
|
3 |
Tags: anti spam, protect, encode, encrypt, hide, antispam, phone number, spambot, secure, e-mail, email, mail
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.1
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -126,6 +126,10 @@ Yes, since version 1.3.0 also special characters are supported.
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
129 |
= 2.1.0 =
|
130 |
* Feature: New advanced setting to automatically protect custom link attributes such as tel:, file:, ftp:, skype:, etc. (Protect custom href attributes)
|
131 |
* Tweak: Adjust JS documentation
|
3 |
Tags: anti spam, protect, encode, encrypt, hide, antispam, phone number, spambot, secure, e-mail, email, mail
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.1
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 2.1.1: April 07, 2021 =
|
130 |
+
* Tweak: Added svg images to the image exclude list
|
131 |
+
* Dev: New filter eeb/validate/excluded_image_urls to filter the excluded image list
|
132 |
+
|
133 |
= 2.1.0 =
|
134 |
* Feature: New advanced setting to automatically protect custom link attributes such as tel:, file:, ftp:, skype:, etc. (Protect custom href attributes)
|
135 |
* Tweak: Adjust JS documentation
|