Email Encoder Bundle – Protect Email Address - Version 1.0.1

Version Description

  • Fixed PHP support (same as WordPress)
  • Solved bug wrong "settings" link
Download this release

Release Info

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

Code changes from version 1.0.0 to 1.0.1

email-encoder-bundle.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php defined('ABSPATH') OR die('No direct access.');
2
  /*
3
- Plugin Name: Email Encoder Bundle
4
  Plugin URI: http://www.freelancephp.net/email-encoder-php-class-wp-plugin/
5
  Description: Protect email addresses on your site and hide them from spambots by using an encoding method. Easy to use, flexible .
6
  Author: Victor Villaverde Laan
7
- Version: 1.0.0
8
  Author URI: http://www.freelancephp.net
9
  License: Dual licensed under the MIT and GPL licenses
10
  Text Domain: email-encoder-bundle
@@ -18,7 +18,7 @@ if (!defined('EMAIL_ENCODER_BUNDLE_FILE')) {
18
 
19
  // plugin version
20
  if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) {
21
- define('EMAIL_ENCODER_BUNDLE_VERSION', '1.0.0');
22
  }
23
 
24
  // plugin key
@@ -34,7 +34,7 @@ if (!defined('EMAIL_ENCODER_BUNDLE_DOMAIN')) {
34
  // check plugin compatibility
35
  if (isset($wp_version)
36
  AND version_compare(preg_replace('/-.*$/', '', $wp_version), '3.4', '>=')
37
- AND version_compare(phpversion(), '5.3.13', '>=')) {
38
 
39
  // include classes
40
  require_once('includes/class-eeb-admin.php');
1
  <?php defined('ABSPATH') OR die('No direct access.');
2
  /*
3
+ Plugin Name: Email Encoder Bundle - Protect Emailaddresses
4
  Plugin URI: http://www.freelancephp.net/email-encoder-php-class-wp-plugin/
5
  Description: Protect email addresses on your site and hide them from spambots by using an encoding method. Easy to use, flexible .
6
  Author: Victor Villaverde Laan
7
+ Version: 1.0.1
8
  Author URI: http://www.freelancephp.net
9
  License: Dual licensed under the MIT and GPL licenses
10
  Text Domain: email-encoder-bundle
18
 
19
  // plugin version
20
  if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) {
21
+ define('EMAIL_ENCODER_BUNDLE_VERSION', '1.0.1');
22
  }
23
 
24
  // plugin key
34
  // check plugin compatibility
35
  if (isset($wp_version)
36
  AND version_compare(preg_replace('/-.*$/', '', $wp_version), '3.4', '>=')
37
+ AND version_compare(phpversion(), '5.2.4', '>=')) {
38
 
39
  // include classes
40
  require_once('includes/class-eeb-admin.php');
includes/class-eeb-admin.php CHANGED
@@ -225,7 +225,7 @@ class Eeb_Admin {
225
  */
226
  public function plugin_action_links($links, $file) {
227
  if ($file == plugin_basename(EMAIL_ENCODER_BUNDLE_FILE)) {
228
- $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=' . $file . '">' . __('Settings', EMAIL_ENCODER_BUNDLE_DOMAIN) . '</a>';
229
  array_unshift($links, $settings_link);
230
  }
231
 
@@ -310,7 +310,7 @@ class Eeb_Admin {
310
  ?>
311
  <div class="wrap">
312
  <div class="icon32" id="icon-options-custom" style="background:url(<?php echo plugins_url('images/icon-email-encoder-bundle.png', EMAIL_ENCODER_BUNDLE_FILE) ?>) no-repeat 50% 50%"><br></div>
313
- <h2><?php echo get_admin_page_title() ?> - <em><small><?php _e('Protecting Your Email Addresses', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></small></em></h2>
314
 
315
  <?php if (isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true' && $this->options['own_admin_menu']): ?>
316
  <div class="updated settings-error" id="setting-error-settings_updated">
@@ -557,7 +557,7 @@ class Eeb_Admin {
557
  ?>
558
  <ul>
559
  <li><a href="#" class="eeb-help-link"><?php _e('Documentation', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></a></li>
560
- <li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank"><?php _e('Report a problem', EMAIL_ENCODER_BUNDLE_DOMAIN) ?><</a></li>
561
  </ul>
562
 
563
  <p><strong><a href="http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle" target="_blank"><?php _e('Please rate this plugin!', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></a></strong></p>
225
  */
226
  public function plugin_action_links($links, $file) {
227
  if ($file == plugin_basename(EMAIL_ENCODER_BUNDLE_FILE)) {
228
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=' . $this->page_hook . '">' . __('Settings', EMAIL_ENCODER_BUNDLE_DOMAIN) . '</a>';
229
  array_unshift($links, $settings_link);
230
  }
231
 
310
  ?>
311
  <div class="wrap">
312
  <div class="icon32" id="icon-options-custom" style="background:url(<?php echo plugins_url('images/icon-email-encoder-bundle.png', EMAIL_ENCODER_BUNDLE_FILE) ?>) no-repeat 50% 50%"><br></div>
313
+ <h2><?php echo get_admin_page_title() ?> - <em><small><?php _e('Protect Emailaddresses', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></small></em></h2>
314
 
315
  <?php if (isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true' && $this->options['own_admin_menu']): ?>
316
  <div class="updated settings-error" id="setting-error-settings_updated">
557
  ?>
558
  <ul>
559
  <li><a href="#" class="eeb-help-link"><?php _e('Documentation', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></a></li>
560
+ <li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank"><?php _e('Report a problem', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></a></li>
561
  </ul>
562
 
563
  <p><strong><a href="http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle" target="_blank"><?php _e('Please rate this plugin!', EMAIL_ENCODER_BUNDLE_DOMAIN) ?></a></strong></p>
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Email Encoder Bundle ===
2
  Contributors: freelancephp
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: 3.4.0
5
  Tested up to: 3.8.0
6
- Stable tag: 1.0.0
7
 
8
  Encode mailto links, emailaddresses or any text and hide them from spambots. Easy to use, plugin works directly when activated.
9
 
@@ -17,7 +17,7 @@ Encode mailto links, emailaddresses or any text and hide them from spambots. Eas
17
  * Scan posts, widgets and comments
18
  * Also protect RSS feeds
19
 
20
- Some extra features:
21
  * Encode any text
22
  * Template functions
23
  * Manually create protected links with the Encoder Form
@@ -30,10 +30,9 @@ The plugin works directly when activated. If you like you can set many options i
30
  * Documentation - Check the Help tab on the plugin Admin page
31
  * [FAQ](http://wordpress.org/extend/plugins/email-encoder-bundle/faq/)
32
  * [Report a problem](http://wordpress.org/support/plugin/email-encoder-bundle#postform)
33
- * PHP 5.4+ and WP 3.4+
34
 
35
  = Like this plugin? =
36
- You could show your appreciation by [rating this plugin](http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle) and/or [posting a comment](http://www.freelancephp.net/email-encoder-php-class-wp-plugin/) on my blog.
37
 
38
  == Installation ==
39
 
@@ -122,6 +121,10 @@ It's possible to filter all widgets by using the Widget Logic plugin and activat
122
 
123
  == Changelog ==
124
 
 
 
 
 
125
  = 1.0.0 =
126
  * NOW ONLY SUPPORT FOR PHP 5.4+ and WP 3.4.0+
127
  * Solved bug deleting setting values when unregister (will now be deleted on uninstall)
1
+ === Email Encoder Bundle - Protect Emailaddresses ===
2
  Contributors: freelancephp
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: 3.4.0
5
  Tested up to: 3.8.0
6
+ Stable tag: 1.0.1
7
 
8
  Encode mailto links, emailaddresses or any text and hide them from spambots. Easy to use, plugin works directly when activated.
9
 
17
  * Scan posts, widgets and comments
18
  * Also protect RSS feeds
19
 
20
+ = Some extra features =
21
  * Encode any text
22
  * Template functions
23
  * Manually create protected links with the Encoder Form
30
  * Documentation - Check the Help tab on the plugin Admin page
31
  * [FAQ](http://wordpress.org/extend/plugins/email-encoder-bundle/faq/)
32
  * [Report a problem](http://wordpress.org/support/plugin/email-encoder-bundle#postform)
 
33
 
34
  = Like this plugin? =
35
+ Please [rate this plugin](http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle) or [post a comment](http://www.freelancephp.net/email-encoder-php-class-wp-plugin/) on my blog.
36
 
37
  == Installation ==
38
 
121
 
122
  == Changelog ==
123
 
124
+ = 1.0.1 =
125
+ * Fixed PHP support (same as WordPress)
126
+ * Solved bug wrong "settings" link
127
+
128
  = 1.0.0 =
129
  * NOW ONLY SUPPORT FOR PHP 5.4+ and WP 3.4.0+
130
  * Solved bug deleting setting values when unregister (will now be deleted on uninstall)