Email Encoder Bundle – Protect Email Address - Version 2.0.8

Version Description

  • Feature: The shortcode [eeb_protect_content] now supports a new attribute called do_shortcode="yes" which allows you to execute all shortcodes within the given content area
  • Tweak: Add new link for the Email Checker (Allows you to check if all of your emails are being encoded)
  • Tweak: Add new Foggy Email note
  • Tweak: Optimize layout and texts
  • Fix: The documentation link on the settings page was not working
  • Dev: The eeb/frontend/shortcode/eeb_protect_content filter now contains a new variable called $original_content (https://ironikus.com/docs/knowledge-base/filter-eeb-content-shortcode/)
Download this release

Release Info

Developer ironikus
Plugin Icon 128x128 Email Encoder Bundle – Protect Email Address
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

core/includes/classes/class-email-encoder-bundle-run.php CHANGED
@@ -392,6 +392,7 @@ class Email_Encoder_Run{
392
  */
393
  public function shortcode_eeb_content( $atts = array(), $content = null ){
394
 
 
395
  $show_encoded_check = (string) EEB()->settings->get_setting( 'show_encoded_check', true );
396
 
397
  if( ! isset( $atts['protection_text'] ) ){
@@ -406,6 +407,10 @@ class Email_Encoder_Run{
406
  $method = 'rot13';
407
  }
408
 
 
 
 
 
409
  switch( $method ){
410
  case 'enc_ascii':
411
  case 'rot13':
@@ -427,7 +432,7 @@ class Email_Encoder_Run{
427
  $content .= '<i class="eeb-encoded dashicons-before dashicons-lock" title="' . __( 'Email encoded successfully!', 'email-encoder-bundle' ) . '"></i>';
428
  }
429
 
430
- return apply_filters( 'eeb/frontend/shortcode/eeb_protect_content', $content, $atts );
431
  }
432
 
433
  /**
392
  */
393
  public function shortcode_eeb_content( $atts = array(), $content = null ){
394
 
395
+ $original_content = $content;
396
  $show_encoded_check = (string) EEB()->settings->get_setting( 'show_encoded_check', true );
397
 
398
  if( ! isset( $atts['protection_text'] ) ){
407
  $method = 'rot13';
408
  }
409
 
410
+ if( isset( $atts['do_shortcode'] ) && $atts['do_shortcode'] === 'yes' ){
411
+ $content = do_shortcode( $content );
412
+ }
413
+
414
  switch( $method ){
415
  case 'enc_ascii':
416
  case 'rot13':
432
  $content .= '<i class="eeb-encoded dashicons-before dashicons-lock" title="' . __( 'Email encoded successfully!', 'email-encoder-bundle' ) . '"></i>';
433
  }
434
 
435
+ return apply_filters( 'eeb/frontend/shortcode/eeb_protect_content', $content, $atts, $original_content );
436
  }
437
 
438
  /**
core/includes/partials/help-tabs/shortcodes.php CHANGED
@@ -6,7 +6,7 @@
6
  <p><code>[eeb_mailto email="info@myemail.com" extra_attrs="target='_blank'" method="rot13" display="Custom Text"]</code>
7
  </p>
8
  <p><?php echo __( 'You can also protect phone numbers and any kind of text by using the following shortcode:', 'email-encoder-bundle' ); ?></p>
9
- <h4><code>[eeb_protect_content protection_text="I am a noscript text" method="rot13"]My Email[/eeb_protect_content]</code></h4>
10
  <p><?php echo __( 'Display the encoder form', 'email-encoder-bundle' ); ?></p>
11
  <p><code>[eeb_form]</code>
12
  </p>
6
  <p><code>[eeb_mailto email="info@myemail.com" extra_attrs="target='_blank'" method="rot13" display="Custom Text"]</code>
7
  </p>
8
  <p><?php echo __( 'You can also protect phone numbers and any kind of text by using the following shortcode:', 'email-encoder-bundle' ); ?></p>
9
+ <p><code>[eeb_protect_content protection_text="I am a noscript text" method="rot13" do_shortcode="yes"]My Email[/eeb_protect_content]</code></p>
10
  <p><?php echo __( 'Display the encoder form', 'email-encoder-bundle' ); ?></p>
11
  <p><code>[eeb_form]</code>
12
  </p>
core/includes/partials/widgets/sidebar.php CHANGED
@@ -2,7 +2,12 @@
2
  <div class="inside">
3
  <ul>
4
  <li>
5
- <a href="https://ironikus.com/docs/article-categories/email-encoder-bundle/" target="_blank">
 
 
 
 
 
6
  <i class="dashicons-before dashicons-media-text"></i>
7
  Documentation </a>
8
  </li>
@@ -27,8 +32,19 @@
27
  </p>
28
 
29
  <hr>
30
- <h4>Other plugins by Ironikus</h4>
31
  <ul id="other_plugins">
 
 
 
 
 
 
 
 
 
 
 
32
  <li>
33
  <h4><img src="<?php echo plugins_url('core/includes/assets/img/icon-wp-webhooks.png', EEB_PLUGIN_FILE) ?>"> WP Webhooks</h4>
34
  <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.
2
  <div class="inside">
3
  <ul>
4
  <li>
5
+ <a href="https://ironikus.com/email-checker/" target="_blank">
6
+ <i class="dashicons-before dashicons-search"></i>
7
+ Email checker </a>
8
+ </li>
9
+ <li>
10
+ <a href="https://ironikus.com/docs/article-categories/email-encoder/" target="_blank">
11
  <i class="dashicons-before dashicons-media-text"></i>
12
  Documentation </a>
13
  </li>
32
  </p>
33
 
34
  <hr>
35
+ <h4>Other plugins and services by Ironikus</h4>
36
  <ul id="other_plugins">
37
+ <li>
38
+ <a title="Visit foggy.email" href="https://foggy.email" target="_blank" style="text-decoration: none;">
39
+ <div style="background:linear-gradient(0deg, rgba(0,189,255,1) 0%, rgba(9,101,253,1) 100%);padding: 20px;text-align: center;color: #fff;border-radius: 5px;">
40
+ <div style="margin: 0;color: #fff;font-size: 22px;font-weight: 700;">Foggy Email</div>
41
+ <div style="font-size: 14px;margin-top: 15px;margin-bottom: 20px;">Next-level <strong>email</strong> protection for your WordPress website.</div>
42
+ <div style="font-size: 16px;background: #fff;color: #000;border-radius: 50px;padding: 4px 10px;margin-top: 10px;">hidden@foggy.email</div>
43
+ <div style="font-size: 18px;margin: 10px;">forwards to</div>
44
+ <div style="font-size: 16px;background: #fff;color: #000;border-radius: 50px;padding: 4px 10px;">my@email.com</div>
45
+ </div>
46
+ </a>
47
+ </li>
48
  <li>
49
  <h4><img src="<?php echo plugins_url('core/includes/assets/img/icon-wp-webhooks.png', EEB_PLUGIN_FILE) ?>"> WP Webhooks</h4>
50
  <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.
email-encoder-bundle.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Email Encoder - Protect Email Addresses
4
- * Version: 2.0.7
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.0.7' );
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.0.8
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.0.8' );
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, mailto, spambot, secure, e-mail, email, mail
4
  Requires at least: 4.7
5
  Requires PHP: 5.1
6
- Tested up to: 5.4
7
- Stable tag: 2.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,7 +13,7 @@ Protect email addresses on your site and hide them from spambots. Easy to use &
13
  == Description ==
14
 
15
  Full site protection for your email addresses from spam-bots, email harvesters and other robots. No configuration needed.
16
- Also protext phone numbers or any other text using our integrated `[eeb_protect_content]` shortcode.
17
 
18
  = Features =
19
  * Full page protection for all of your emails
@@ -37,7 +37,7 @@ Foggy Email allows you to create protected emails to hide your real email addres
37
  Example: me@myemail.com will be converted to hgulo@foggy.email - Your website visitor will see hgulo@foggy.email on your website instead your real email. Once they send an email to this address, it gets automatically forwarded to your inbox.
38
 
39
  = Compatibilities =
40
- * The plugin works with mostly any theme and plugin. Some special ones needed special treatment. Doen below you can learn more about that.
41
  * Compatible with the Maintenance plugin from WP Maintenance
42
  * Divi Theme is fully integrated as well
43
  * Jetpack Image carousel is compatible as well
@@ -126,6 +126,14 @@ Yes, since version 1.3.0 also special characters are supported.
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
 
 
 
129
  = 2.0.7 =
130
  * Feature: Underline emails that are converted to an image (Cutsomizable)
131
  * Feature: Integration for the Google Site Kit plugin - https://wordpress.org/plugins/google-site-kit/
3
  Tags: anti spam, protect, encode, encrypt, hide, antispam, mailto, spambot, secure, e-mail, email, mail
4
  Requires at least: 4.7
5
  Requires PHP: 5.1
6
+ Tested up to: 5.4.2
7
+ Stable tag: 2.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
 
15
  Full site protection for your email addresses from spam-bots, email harvesters and other robots. No configuration needed.
16
+ Also supports [foggy.email](https://foggy.email/) and protects phone numbers or any other text using our integrated `[eeb_protect_content]` shortcode.
17
 
18
  = Features =
19
  * Full page protection for all of your emails
37
  Example: me@myemail.com will be converted to hgulo@foggy.email - Your website visitor will see hgulo@foggy.email on your website instead your real email. Once they send an email to this address, it gets automatically forwarded to your inbox.
38
 
39
  = Compatibilities =
40
+ * The plugin works with mostly any theme and plugin. Some special ones need special treatment. Down below you can learn more about that.
41
  * Compatible with the Maintenance plugin from WP Maintenance
42
  * Divi Theme is fully integrated as well
43
  * Jetpack Image carousel is compatible as well
126
 
127
  == Changelog ==
128
 
129
+ = 2.0.8 =
130
+ * Feature: The shortcode [eeb_protect_content] now supports a new attribute called do_shortcode="yes" which allows you to execute all shortcodes within the given content area
131
+ * Tweak: Add new link for the Email Checker (Allows you to check if all of your emails are being encoded)
132
+ * Tweak: Add new Foggy Email note
133
+ * Tweak: Optimize layout and texts
134
+ * Fix: The documentation link on the settings page was not working
135
+ * Dev: The eeb/frontend/shortcode/eeb_protect_content filter now contains a new variable called $original_content (https://ironikus.com/docs/knowledge-base/filter-eeb-content-shortcode/)
136
+
137
  = 2.0.7 =
138
  * Feature: Underline emails that are converted to an image (Cutsomizable)
139
  * Feature: Integration for the Google Site Kit plugin - https://wordpress.org/plugins/google-site-kit/