WP Mail Bank: WordPress SMTP Plugin & Email Logs - Version 2.0.3

Version Description

  • Major Bug Fixed Related to Warning/Error Messages on Plugin Upgrade
  • Login Authentication set as Default Authentication under SMTP
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 WP Mail Bank: WordPress SMTP Plugin & Email Logs
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

includes/footer.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
includes/header.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
includes/translations.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
lib/action-library.php CHANGED
@@ -14,6 +14,7 @@ if(!is_user_logged_in())
14
  }
15
  else
16
  {
 
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
14
  }
15
  else
16
  {
17
+ $access_granted = false;
18
  foreach($user_role_permission as $permission)
19
  {
20
  if(current_user_can($permission))
lib/admin-bar-menu.php CHANGED
@@ -14,6 +14,7 @@ if(!is_user_logged_in())
14
  }
15
  else
16
  {
 
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
14
  }
15
  else
16
  {
17
+ $access_granted = false;
18
  foreach($user_role_permission as $permission)
19
  {
20
  if(current_user_can($permission))
lib/helper.php CHANGED
@@ -14,6 +14,7 @@ if(!is_user_logged_in())
14
  }
15
  else
16
  {
 
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
14
  }
15
  else
16
  {
17
+ $access_granted = false;
18
  foreach($user_role_permission as $permission)
19
  {
20
  if(current_user_can($permission))
lib/sidebar-menu.php CHANGED
@@ -14,6 +14,7 @@ if(!is_user_logged_in())
14
  }
15
  else
16
  {
 
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
14
  }
15
  else
16
  {
17
+ $access_granted = false;
18
  foreach($user_role_permission as $permission)
19
  {
20
  if(current_user_can($permission))
lib/zend/mail/protocol/smtp/auth/crammd5.php CHANGED
@@ -36,6 +36,7 @@
36
  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
37
  * @license http://framework.zend.com/license/new-bsd New BSD License
38
  */
 
39
  class mail_bank_Zend_Mail_Protocol_Smtp_Auth_Crammd5 extends mail_bank_Zend_Mail_Protocol_Smtp
40
  {
41
  /**
36
  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
37
  * @license http://framework.zend.com/license/new-bsd New BSD License
38
  */
39
+ if(!defined("ABSPATH")) exit;
40
  class mail_bank_Zend_Mail_Protocol_Smtp_Auth_Crammd5 extends mail_bank_Zend_Mail_Protocol_Smtp
41
  {
42
  /**
lib/zend/mail/protocol/smtp/auth/login.php CHANGED
@@ -36,6 +36,7 @@
36
  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
37
  * @license http://framework.zend.com/license/new-bsd New BSD License
38
  */
 
39
  class mail_bank_Zend_Mail_Protocol_Smtp_Auth_Login extends mail_bank_Zend_Mail_Protocol_Smtp
40
  {
41
  /**
36
  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
37
  * @license http://framework.zend.com/license/new-bsd New BSD License
38
  */
39
+ if(!defined("ABSPATH")) exit;
40
  class mail_bank_Zend_Mail_Protocol_Smtp_Auth_Login extends mail_bank_Zend_Mail_Protocol_Smtp
41
  {
42
  /**
readme.txt CHANGED
@@ -1,18 +1,18 @@
1
- === Mail Bank - Best PHPMailer & SMTP Plugin ===
2
  Contributors: contact-banker, Gallery-Bank, wordpress-empire
3
- Tags: email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, sendmail, smtp, ssl, tls, wordpress smtp, wp smtp, wp-phpmailer, wp_mail, wp mail, mailer, mail bank
4
  Requires at least: 2.7
5
  Tested up to: 4.6.1
6
- Stable tag: 2.0.2
7
 
8
- Mail Bank reconfigures the PHP Mailer and SMTP settings to send and log emails from your Wordpress site.
9
 
10
  == Description ==
11
 
12
- [**Mail Bank**](http://beta.tech-banker.com/products/mail-bank/) is one of the highly productive Wordpress plugin.
13
-
14
- It is one of the best plugin in the Wordpress to send or receive emails.
15
 
 
 
16
  The Plugin has options to choose between your custom SMTP server or the inbuilt phpmailer.
17
 
18
  This plugin provides the easily configurable email parameters for sending emails.
@@ -97,7 +97,7 @@ It allows to determine the access level or permissions of Mail Bank among differ
97
 
98
  An ambition of this plugin is to make end users more comfortable and utilize all features that comes built in. We are providing you the beneficial steps for an installation purpose.
99
 
100
- Mail Bank Regularly updates the simplicity of usage along with efficient functionality makes it a perfect choice for your wordpress site to send emails to multiple recipients just in seconds.
101
  There are also Premium Editions of the plugin with more useful features available.
102
 
103
  There are lot of features also available in Premium Editions, you can check before downloading & purchasing.
@@ -329,7 +329,7 @@ For the Premium Edition there is a separate support package available. Please do
329
  == Installation ==
330
 
331
  ### Minimum requirements.
332
- * Wordpress 2.7+
333
  * PHP 5.x
334
  * MySQL 5.x
335
 
@@ -365,6 +365,11 @@ If any problem occurs, please contact us at [support@tech-banker.com](mailto:sup
365
 
366
  == Changelog ==
367
 
 
 
 
 
 
368
  = 2.0.2 =
369
 
370
  * Major Version Release
1
+ === Mail Bank - PHP Mail & SMTP Plugin ===
2
  Contributors: contact-banker, Gallery-Bank, wordpress-empire
3
+ Tags: email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, sendmail, smtp, ssl, tls, WordPress smtp, wp smtp, wp-phpmailer, wp_mail, wp mail, mailer, mail bank
4
  Requires at least: 2.7
5
  Tested up to: 4.6.1
6
+ Stable tag: 2.0.3
7
 
8
+ Mail Bank reconfigures the Mail Function and provides sophisticated SMTP settings to send and log emails from your WordPress site.
9
 
10
  == Description ==
11
 
12
+ [**Mail Bank**](http://beta.tech-banker.com/products/mail-bank/) is one of the highly productive WordPress plugin.
 
 
13
 
14
+ It is one of the best plugin in the WordPress to send or receive emails.
15
+
16
  The Plugin has options to choose between your custom SMTP server or the inbuilt phpmailer.
17
 
18
  This plugin provides the easily configurable email parameters for sending emails.
97
 
98
  An ambition of this plugin is to make end users more comfortable and utilize all features that comes built in. We are providing you the beneficial steps for an installation purpose.
99
 
100
+ Mail Bank Regularly updates the simplicity of usage along with efficient functionality makes it a perfect choice for your WordPress site to send emails to multiple recipients just in seconds.
101
  There are also Premium Editions of the plugin with more useful features available.
102
 
103
  There are lot of features also available in Premium Editions, you can check before downloading & purchasing.
329
  == Installation ==
330
 
331
  ### Minimum requirements.
332
+ * WordPress 2.7+
333
  * PHP 5.x
334
  * MySQL 5.x
335
 
365
 
366
  == Changelog ==
367
 
368
+ = 2.0.3 =
369
+
370
+ * Major Bug Fixed Related to Warning/Error Messages on Plugin Upgrade
371
+ * Login Authentication set as Default Authentication under SMTP
372
+
373
  = 2.0.2 =
374
 
375
  * Major Version Release
views/email-logs/email-logs.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/email-setup/email-setup.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/feedbacks/feedbacks.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/premium-editions/premium-editions.php CHANGED
@@ -14,6 +14,7 @@ if(!is_user_logged_in())
14
  }
15
  else
16
  {
 
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
14
  }
15
  else
16
  {
17
+ $access_granted = false;
18
  foreach($user_role_permission as $permission)
19
  {
20
  if(current_user_can($permission))
views/roles-and-capabilities/roles-and-capabilities.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/settings/settings.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/system-information/system-information.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
views/test-email/test-email.php CHANGED
@@ -13,6 +13,7 @@ if(!is_user_logged_in())
13
  }
14
  else
15
  {
 
16
  foreach($user_role_permission as $permission)
17
  {
18
  if(current_user_can($permission))
13
  }
14
  else
15
  {
16
+ $access_granted = false;
17
  foreach($user_role_permission as $permission)
18
  {
19
  if(current_user_can($permission))
wp-mail-bank.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://beta.tech-banker.com
5
  Description: Mail Bank reconfigures the wp_mail() function and make it more enhanced.
6
  Author: Tech Banker
7
  Author URI: http://beta.tech-banker.com
8
- Version: 2.0.2
9
  License: GPLv3
10
  */
11
 
@@ -48,8 +48,16 @@ else
48
  "roles_and_capabilities"
49
  )
50
  );
 
 
 
 
 
 
 
 
51
  $unserialized_capabilities = unserialize($capabilities);
52
- return $unserialized_capabilities["capabilities"];
53
  }
54
  }
55
 
5
  Description: Mail Bank reconfigures the wp_mail() function and make it more enhanced.
6
  Author: Tech Banker
7
  Author URI: http://beta.tech-banker.com
8
+ Version: 2.0.3
9
  License: GPLv3
10
  */
11
 
48
  "roles_and_capabilities"
49
  )
50
  );
51
+ $core_roles = array(
52
+ "manage_options",
53
+ "edit_plugins",
54
+ "edit_posts",
55
+ "publish_posts",
56
+ "publish_pages",
57
+ "edit_pages"
58
+ );
59
  $unserialized_capabilities = unserialize($capabilities);
60
+ return isset($unserialized_capabilities["capabilities"]) ? $unserialized_capabilities["capabilities"] : $core_roles;
61
  }
62
  }
63