Version Description
- Tweak: Add popup window for admin success message of hidden email
- Fix: Fix bug for non-available antispambot() function
- Ironikus takes over development (https://ironikus.com)
Download this release
Release Info
| Developer | ironikus |
| Plugin | |
| Version | 1.5.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.51 to 1.5.2
- email-encoder-bundle.php +3 -3
- images/icon-301-redirects.png +0 -0
- images/icon-google-maps-widget.png +0 -0
- images/icon-security-ninja.png +0 -0
- images/icon-wp-snow.png +0 -0
- images/icon-wp-webhooks.png +0 -0
- includes/class-eeb-admin.php +11 -14
- includes/class-eeb-site.php +19 -19
- readme.txt +7 -2
email-encoder-bundle.php
CHANGED
|
@@ -3,9 +3,9 @@
|
|
| 3 |
Plugin Name: Email Encoder - Protect Email Address
|
| 4 |
Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
|
| 5 |
Description: Protect email addresses on your site and hide them from spambots by encoding them. Easy to use & flexible.
|
| 6 |
-
Author:
|
| 7 |
-
Version: 1.
|
| 8 |
-
Author URI: https://
|
| 9 |
License: Dual licensed under the MIT and GPL licenses
|
| 10 |
Text Domain: email-encoder-bundle
|
| 11 |
*/
|
| 3 |
Plugin Name: Email Encoder - Protect Email Address
|
| 4 |
Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
|
| 5 |
Description: Protect email addresses on your site and hide them from spambots by encoding them. Easy to use & flexible.
|
| 6 |
+
Author: Ironikus
|
| 7 |
+
Version: 1.5.2
|
| 8 |
+
Author URI: https://ironikus.com/
|
| 9 |
License: Dual licensed under the MIT and GPL licenses
|
| 10 |
Text Domain: email-encoder-bundle
|
| 11 |
*/
|
images/icon-301-redirects.png
DELETED
|
Binary file
|
images/icon-google-maps-widget.png
DELETED
|
Binary file
|
images/icon-security-ninja.png
DELETED
|
Binary file
|
images/icon-wp-snow.png
ADDED
|
Binary file
|
images/icon-wp-webhooks.png
ADDED
|
Binary file
|
includes/class-eeb-admin.php
CHANGED
|
@@ -239,7 +239,7 @@ abstract class Eeb_Admin {
|
|
| 239 |
return $text_org;
|
| 240 |
}
|
| 241 |
|
| 242 |
-
$text = '<i><a target="_blank" href="https://wordpress.org/plugins/email-encoder-bundle/">Email Encoder</a> v' . EMAIL_ENCODER_BUNDLE_VERSION . ' by <a href="https://
|
| 243 |
$text .= ' Please <a target="_blank" href="https://wordpress.org/support/plugin/email-encoder-bundle/reviews/#new-post" title="Rate the plugin">Rate the plugin ★★★★★</a>.</i> ';
|
| 244 |
|
| 245 |
return $text;
|
|
@@ -568,20 +568,17 @@ abstract class Eeb_Admin {
|
|
| 568 |
|
| 569 |
<?php
|
| 570 |
} else if ($key === 'other_plugins') {
|
|
|
|
|
|
|
| 571 |
?>
|
| 572 |
-
<h4><img src="<?php echo plugins_url('images/icon-
|
| 573 |
-
<p>
|
| 574 |
-
<br /><a href="<?php echo admin_url('plugin-install.php?s=
|
| 575 |
</p>
|
| 576 |
|
| 577 |
-
<h4><img src="<?php echo plugins_url('images/icon-
|
| 578 |
-
<p>
|
| 579 |
-
<br /><a href="<?php echo admin_url('plugin-install.php?s=
|
| 580 |
-
</p>
|
| 581 |
-
|
| 582 |
-
<h4><img src="<?php echo plugins_url('images/icon-security-ninja.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> Security Ninja</h4>
|
| 583 |
-
<p>Perform 50+ security tests with one click. Get a color-coded report on your site's security & how to secure it. Easy to use! Protecting sites like yours for over 7 years.
|
| 584 |
-
<br /><a href="<?php echo admin_url('plugin-install.php?s=Web+Factory+Ltd+Security+Ninja+WordPress+Security+50&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wpsecurityninja.com/" target="_blank">More info</a>
|
| 585 |
</p>
|
| 586 |
<?php
|
| 587 |
}
|
|
@@ -752,9 +749,9 @@ abstract class Eeb_Admin {
|
|
| 752 |
} else if ($key === 'sidebar') {
|
| 753 |
$content = __('<h4>More Info</h4>'
|
| 754 |
. '<ul>'
|
| 755 |
-
. '<li><a href="https://profiles.wordpress.org/
|
| 756 |
. '<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank">Get Support</a></li>'
|
| 757 |
-
. '<li><a href="https://
|
| 758 |
. '</ul>'
|
| 759 |
, 'email-encoder-bundle');
|
| 760 |
} else {
|
| 239 |
return $text_org;
|
| 240 |
}
|
| 241 |
|
| 242 |
+
$text = '<i><a target="_blank" href="https://wordpress.org/plugins/email-encoder-bundle/">Email Encoder</a> v' . EMAIL_ENCODER_BUNDLE_VERSION . ' by <a href="https://ironikus.com/" title="Visit our site to get more great plugins" target="_blank">Ironikus</a>.';
|
| 243 |
$text .= ' Please <a target="_blank" href="https://wordpress.org/support/plugin/email-encoder-bundle/reviews/#new-post" title="Rate the plugin">Rate the plugin ★★★★★</a>.</i> ';
|
| 244 |
|
| 245 |
return $text;
|
| 568 |
|
| 569 |
<?php
|
| 570 |
} else if ($key === 'other_plugins') {
|
| 571 |
+
|
| 572 |
+
$mulsitie_slug = ( is_multisite() ) ? 'network/' : '';
|
| 573 |
?>
|
| 574 |
+
<h4><img src="<?php echo plugins_url('images/icon-wp-webhooks.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> WP Webhooks</h4>
|
| 575 |
+
<p>If you love to automate things, this is for you! WP Webhooks allows you to recieve and send data on your WordPress website from any third party service out there.
|
| 576 |
+
<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>
|
| 577 |
</p>
|
| 578 |
|
| 579 |
+
<h4><img src="<?php echo plugins_url('images/icon-wp-snow.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> WP Snow</h4>
|
| 580 |
+
<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.
|
| 581 |
+
<br /><a href="<?php echo admin_url( $mulsitie_slug . 'plugin-install.php?s=WP+Snow+–+Best+Snow+Effect+Plugin+&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wordpress.org/plugins/wp-snow/" title="Go to WordPress.org" target="_blank">More info</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 582 |
</p>
|
| 583 |
<?php
|
| 584 |
}
|
| 749 |
} else if ($key === 'sidebar') {
|
| 750 |
$content = __('<h4>More Info</h4>'
|
| 751 |
. '<ul>'
|
| 752 |
+
. '<li><a href="https://profiles.wordpress.org/ironikus/#content-plugins" target="_blank">Quality free plugins</a></li>'
|
| 753 |
. '<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank">Get Support</a></li>'
|
| 754 |
+
. '<li><a href="https://ironikus.com/" target="_blank">Visit Ironikus</a></li>'
|
| 755 |
. '</ul>'
|
| 756 |
, 'email-encoder-bundle');
|
| 757 |
} else {
|
includes/class-eeb-site.php
CHANGED
|
@@ -441,9 +441,11 @@ final class Eeb_Site extends Eeb_Admin {
|
|
| 441 |
return $content;
|
| 442 |
}
|
| 443 |
|
|
|
|
|
|
|
| 444 |
return $content
|
| 445 |
-
. '<a href="javascript:;" class="encoded-check"'
|
| 446 |
-
. ' title="' .
|
| 447 |
. '<img class="encoded-check-icon" src="' . plugins_url('images/icon-email-encoder.png', EMAIL_ENCODER_BUNDLE_FILE)
|
| 448 |
. '" alt="' . __('Encoded', 'email-encoder-bundle') . '" />' . '</a>';
|
| 449 |
}
|
|
@@ -556,27 +558,25 @@ final class Eeb_Site extends Eeb_Admin {
|
|
| 556 |
* @param string $value
|
| 557 |
* @return string
|
| 558 |
*/
|
| 559 |
-
private function enc_html($value) {
|
| 560 |
// check for built-in WP function
|
| 561 |
-
if (function_exists('antispambot')) {
|
| 562 |
-
$emailNOSPAMaddy = antispambot($value);
|
| 563 |
} else {
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
|
| 571 |
-
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
}
|
| 576 |
-
$emailNOSPAMaddy = str_replace('@','@',$emailNOSPAMaddy);
|
| 577 |
}
|
| 578 |
|
| 579 |
-
$emailNOSPAMaddy = str_replace('@', '@', $emailNOSPAMaddy);
|
| 580 |
|
| 581 |
return $emailNOSPAMaddy;
|
| 582 |
}
|
| 441 |
return $content;
|
| 442 |
}
|
| 443 |
|
| 444 |
+
$text = htmlspecialchars( __( 'Successfully Encoded! This is a check and it\\\'s only visible when logged in as admin.', 'email-encoder-bundle') );
|
| 445 |
+
|
| 446 |
return $content
|
| 447 |
+
. '<a href="javascript:;" onclick="alert(\'' . $text . '\');" class="encoded-check"'
|
| 448 |
+
. ' title="' . $text . '">'
|
| 449 |
. '<img class="encoded-check-icon" src="' . plugins_url('images/icon-email-encoder.png', EMAIL_ENCODER_BUNDLE_FILE)
|
| 450 |
. '" alt="' . __('Encoded', 'email-encoder-bundle') . '" />' . '</a>';
|
| 451 |
}
|
| 558 |
* @param string $value
|
| 559 |
* @return string
|
| 560 |
*/
|
| 561 |
+
private function enc_html( $value ) {
|
| 562 |
// check for built-in WP function
|
| 563 |
+
if ( ! function_exists('antispambot' ) ) {
|
| 564 |
+
$emailNOSPAMaddy = antispambot( $value );
|
| 565 |
} else {
|
| 566 |
+
$emailNOSPAMaddy = '';
|
| 567 |
+
for ( $i = 0, $len = strlen( $value ); $i < $len; $i++ ) {
|
| 568 |
+
$j = rand( 0, 1 + 0 );
|
| 569 |
+
if ( $j == 0 ) {
|
| 570 |
+
$emailNOSPAMaddy .= '&#' . ord( $value[ $i ] ) . ';';
|
| 571 |
+
} elseif ( $j == 1 ) {
|
| 572 |
+
$emailNOSPAMaddy .= $value[ $i ];
|
| 573 |
+
} elseif ( $j == 2 ) {
|
| 574 |
+
$emailNOSPAMaddy .= '%' . zeroise( dechex( ord( $value[ $i ] ) ), 2 );
|
| 575 |
+
}
|
| 576 |
+
}
|
|
|
|
|
|
|
| 577 |
}
|
| 578 |
|
| 579 |
+
$emailNOSPAMaddy = str_replace( '@', '@', $emailNOSPAMaddy );
|
| 580 |
|
| 581 |
return $emailNOSPAMaddy;
|
| 582 |
}
|
readme.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
=== Email Encoder - Protect Email Address ===
|
| 2 |
-
Contributors:
|
| 3 |
Tags: email address, protect, antispam, mailto, spambot, secure, e-mail, email, mail, obfuscate, encode, encoder, encrypt, hide, bot, crawl, spider, robots, spam, protection, harvest, harvesting, security
|
| 4 |
Requires at least: 4.0
|
| 5 |
Requires PHP: 5.1
|
| 6 |
Tested up to: 5.2
|
| 7 |
-
Stable tag: 1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -135,6 +135,11 @@ It's possible to filter all widgets by using the [Widget Logic Plugin](https://w
|
|
| 135 |
|
| 136 |
== Changelog ==
|
| 137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
= 1.51 =
|
| 139 |
* 2019-03-25
|
| 140 |
* minor bug fixes
|
| 1 |
=== Email Encoder - Protect Email Address ===
|
| 2 |
+
Contributors: ironikus
|
| 3 |
Tags: email address, protect, antispam, mailto, spambot, secure, e-mail, email, mail, obfuscate, encode, encoder, encrypt, hide, bot, crawl, spider, robots, spam, protection, harvest, harvesting, security
|
| 4 |
Requires at least: 4.0
|
| 5 |
Requires PHP: 5.1
|
| 6 |
Tested up to: 5.2
|
| 7 |
+
Stable tag: 1.5.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 135 |
|
| 136 |
== Changelog ==
|
| 137 |
|
| 138 |
+
= 1.5.2 =
|
| 139 |
+
* Tweak: Add popup window for admin success message of hidden email
|
| 140 |
+
* Fix: Fix bug for non-available antispambot() function
|
| 141 |
+
* Ironikus takes over development (https://ironikus.com)
|
| 142 |
+
|
| 143 |
= 1.51 =
|
| 144 |
* 2019-03-25
|
| 145 |
* minor bug fixes
|
