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

Version Description

  • Formatting Issue Fixed.
Download this release

Release Info

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

Code changes from version 1.11 to 1.12

lib/add_mail_class_file.php CHANGED
@@ -3,13 +3,13 @@ switch($role)
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
- break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
- break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
- break;
13
  }
14
  if (!current_user_can($user_role_permission))
15
  {
@@ -17,17 +17,21 @@ if (!current_user_can($user_role_permission))
17
  }
18
  else
19
  {
20
- class save_data
21
  {
22
- function insert_data($tbl, $data)
23
  {
24
- global $wpdb;
25
- $wpdb->insert($tbl,$data);
26
- }
27
- function update_data($tbl,$data,$where)
28
- {
29
- global $wpdb;
30
- $wpdb->update($tbl,$data,$where);
 
 
 
 
31
  }
32
  }
33
  if(isset($_REQUEST["param"]))
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
+ break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
+ break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
+ break;
13
  }
14
  if (!current_user_can($user_role_permission))
15
  {
17
  }
18
  else
19
  {
20
+ if(!class_exists("save_data"))
21
  {
22
+ class save_data
23
  {
24
+ function insert_data($tbl, $data)
25
+ {
26
+ global $wpdb;
27
+ $wpdb->insert($tbl,$data);
28
+ }
29
+
30
+ function update_data($tbl,$data,$where)
31
+ {
32
+ global $wpdb;
33
+ $wpdb->update($tbl,$data,$where);
34
+ }
35
  }
36
  }
37
  if(isset($_REQUEST["param"]))
lib/wp-include-menus.php CHANGED
@@ -48,6 +48,7 @@ else
48
  //--------------------------------------------------------------------------------------------------------------//
49
  // CODE FOR CREATING PAGES
50
  //---------------------------------------------------------------------------------------------------------------//
 
51
  if(!function_exists( "smtp_mail" ))
52
  {
53
  function smtp_mail()
48
  //--------------------------------------------------------------------------------------------------------------//
49
  // CODE FOR CREATING PAGES
50
  //---------------------------------------------------------------------------------------------------------------//
51
+
52
  if(!function_exists( "smtp_mail" ))
53
  {
54
  function smtp_mail()
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, ajax, email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, plugin, Post, posts, privacy, security, sendmail, smtp, ssl, tls, wordpress smtp, wp smtp, wp-phpmailer, wp_mail, wp mail, mailer
4
  Requires at least: 2.7
5
  Tested up to: 4.1.1
6
- Stable tag: 1.11
7
 
8
  WP Mail Bank reconfigures the PHPMailer and make it more enhanced with advanced smtp settings options.
9
 
@@ -221,6 +221,10 @@ If any problem occurs, please contact us at [support@tech-banker.com](mailto:sup
221
  4. Debugging Output Console Log
222
  == Changelog ==
223
 
 
 
 
 
224
  = 1.11 =
225
 
226
  * Minor Bugs Fixed.
3
  Tags: admin, ajax, email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, plugin, Post, posts, privacy, security, sendmail, smtp, ssl, tls, wordpress smtp, wp smtp, wp-phpmailer, wp_mail, wp mail, mailer
4
  Requires at least: 2.7
5
  Tested up to: 4.1.1
6
+ Stable tag: 1.12
7
 
8
  WP Mail Bank reconfigures the PHPMailer and make it more enhanced with advanced smtp settings options.
9
 
221
  4. Debugging Output Console Log
222
  == Changelog ==
223
 
224
+ = 1.12 =
225
+
226
+ * Formatting Issue Fixed.
227
+
228
  = 1.11 =
229
 
230
  * Minor Bugs Fixed.
views/automatic-plugin-update.php CHANGED
@@ -58,6 +58,7 @@ else
58
  </div>
59
  </form>
60
  <script type="text/javascript">
 
61
  function mail_bank_autoupdate(control)
62
  {
63
  var mail_bank_updates = jQuery(control).val();
@@ -65,6 +66,7 @@ else
65
  {
66
  });
67
  }
 
68
  </script>
69
  <?php
70
  }
58
  </div>
59
  </form>
60
  <script type="text/javascript">
61
+
62
  function mail_bank_autoupdate(control)
63
  {
64
  var mail_bank_updates = jQuery(control).val();
66
  {
67
  });
68
  }
69
+
70
  </script>
71
  <?php
72
  }
views/mail-feedback.php CHANGED
@@ -3,13 +3,13 @@ switch($role)
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
- break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
- break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
- break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
+ break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
+ break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
+ break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
views/mail_header.php CHANGED
@@ -3,13 +3,13 @@ switch($role)
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
- break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
- break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
- break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
@@ -40,10 +40,12 @@ else
40
  }
41
  ?>
42
  <script>
 
43
  jQuery(document).ready(function()
44
  {
45
  jQuery(".nav-tab-wrapper > a#<?php echo $_REQUEST["page"];?>").addClass("nav-tab-active");
46
  });
 
47
  </script>
48
  <?php
49
  }
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
+ break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
+ break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
+ break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
40
  }
41
  ?>
42
  <script>
43
+
44
  jQuery(document).ready(function()
45
  {
46
  jQuery(".nav-tab-wrapper > a#<?php echo $_REQUEST["page"];?>").addClass("nav-tab-active");
47
  });
48
+
49
  </script>
50
  <?php
51
  }
views/mail_settings.php CHANGED
@@ -4,13 +4,13 @@ switch($role)
4
  {
5
  case "administrator":
6
  $user_role_permission = "manage_options";
7
- break;
8
  case "editor":
9
  $user_role_permission = "publish_pages";
10
- break;
11
  case "author":
12
  $user_role_permission = "publish_posts";
13
- break;
14
  }
15
 
16
  if (!current_user_can($user_role_permission))
@@ -239,6 +239,7 @@ else
239
  }
240
  ?>
241
  <script>
 
242
  jQuery(document).ready(function()
243
  {
244
  backup_rdl();
@@ -246,6 +247,7 @@ jQuery(document).ready(function()
246
  smtp_username();
247
 
248
  });
 
249
  jQuery("#ux_frm_email").validate
250
  ({
251
  rules:
@@ -337,14 +339,16 @@ jQuery("#ux_frm_email").validate
337
  });
338
  }
339
  });
 
340
  function message_close()
341
  {
342
  jQuery("#message").css("display", "none");
343
  }
344
- function backup_rdl ()
345
- {
346
- var value = jQuery("#ux_rdl_on").prop("checked");
347
- if(value == false)
 
348
  {
349
  jQuery("#ux_smtp_host").css("display","block");
350
  }
@@ -352,8 +356,9 @@ function message_close()
352
  {
353
  jQuery("#ux_smtp_host").css("display","none");
354
  }
355
- }
356
- function show_return_path()
 
357
  {
358
  if(jQuery("#ux_chk_return_path").prop("checked") == "0")
359
  {
@@ -364,10 +369,11 @@ function message_close()
364
  jQuery("#return_path").css("display","none");
365
  }
366
  }
367
- function smtp_username ()
368
- {
369
- var value = jQuery("#ux_rdl_authentication_use").prop("checked");
370
- if(value == false)
 
371
  {
372
  jQuery("#ux_smtp").css("display","none");
373
  }
@@ -375,5 +381,5 @@ function message_close()
375
  {
376
  jQuery("#ux_smtp").css("display","block");
377
  }
378
- }
379
  </script>
4
  {
5
  case "administrator":
6
  $user_role_permission = "manage_options";
7
+ break;
8
  case "editor":
9
  $user_role_permission = "publish_pages";
10
+ break;
11
  case "author":
12
  $user_role_permission = "publish_posts";
13
+ break;
14
  }
15
 
16
  if (!current_user_can($user_role_permission))
239
  }
240
  ?>
241
  <script>
242
+
243
  jQuery(document).ready(function()
244
  {
245
  backup_rdl();
247
  smtp_username();
248
 
249
  });
250
+
251
  jQuery("#ux_frm_email").validate
252
  ({
253
  rules:
339
  });
340
  }
341
  });
342
+
343
  function message_close()
344
  {
345
  jQuery("#message").css("display", "none");
346
  }
347
+
348
+ function backup_rdl ()
349
+ {
350
+ var value = jQuery("#ux_rdl_on").prop("checked");
351
+ if(value == false)
352
  {
353
  jQuery("#ux_smtp_host").css("display","block");
354
  }
356
  {
357
  jQuery("#ux_smtp_host").css("display","none");
358
  }
359
+ }
360
+
361
+ function show_return_path()
362
  {
363
  if(jQuery("#ux_chk_return_path").prop("checked") == "0")
364
  {
369
  jQuery("#return_path").css("display","none");
370
  }
371
  }
372
+
373
+ function smtp_username ()
374
+ {
375
+ var value = jQuery("#ux_rdl_authentication_use").prop("checked");
376
+ if(value == false)
377
  {
378
  jQuery("#ux_smtp").css("display","none");
379
  }
381
  {
382
  jQuery("#ux_smtp").css("display","block");
383
  }
384
+ }
385
  </script>
views/test_email.php CHANGED
@@ -3,13 +3,13 @@ switch($role)
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
- break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
- break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
- break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
@@ -20,7 +20,7 @@ else
20
  {
21
  $admin_email = get_option( 'admin_email' );
22
  ?>
23
- <form id="ux_frm_test_email" class="layout-form" style="max-width:1000px";>
24
  <div class="fluid-layout">
25
  <div id="ux_test_mail" style="display: block">
26
  <div class="layout-span12 responsive">
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
+ break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
+ break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
+ break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
20
  {
21
  $admin_email = get_option( 'admin_email' );
22
  ?>
23
+ <form id="ux_frm_test_email" class="layout-form" style="max-width:1000px;">
24
  <div class="fluid-layout">
25
  <div id="ux_test_mail" style="display: block">
26
  <div class="layout-span12 responsive">
views/wp_system_status.php CHANGED
@@ -3,13 +3,13 @@ switch($role)
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
- break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
- break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
- break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
3
  {
4
  case "administrator":
5
  $user_role_permission = "manage_options";
6
+ break;
7
  case "editor":
8
  $user_role_permission = "publish_pages";
9
+ break;
10
  case "author":
11
  $user_role_permission = "publish_posts";
12
+ break;
13
  }
14
 
15
  if (!current_user_can($user_role_permission))
wp-mail-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Wp Mail Bank
4
  Plugin URI: http://tech-banker.com
5
  Description: WP Mail Bank reconfigures the wp_mail() function and make it more enhanced.
6
  Author: Tech Banker
7
- Version: 1.11
8
  Author URI: http://tech-banker.com
9
  */
10
 
4
  Plugin URI: http://tech-banker.com
5
  Description: WP Mail Bank reconfigures the wp_mail() function and make it more enhanced.
6
  Author: Tech Banker
7
+ Version: 1.12
8
  Author URI: http://tech-banker.com
9
  */
10