WP Mail SMTP by WPForms - Version 1.0.1

Version Description

  • 2017-12-12 =
  • Fixed: Global POST processing conflict.
Download this release

Release Info

Developer jaredatch
Plugin Icon 128x128 WP Mail SMTP by WPForms
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

languages/wp-mail-smtp.pot CHANGED
@@ -198,7 +198,7 @@ msgstr ""
198
  msgid "WP Mail SMTP"
199
  msgstr ""
200
 
201
- #: wp_mail_smtp.php:758, src/Admin/Area.php:363, src/Admin/Pages/Settings.php:25
202
  msgid "Settings"
203
  msgstr ""
204
 
198
  msgid "WP Mail SMTP"
199
  msgstr ""
200
 
201
+ #: wp_mail_smtp.php:758, src/Admin/Area.php:370, src/Admin/Pages/Settings.php:25
202
  msgid "Settings"
203
  msgstr ""
204
 
readme.txt CHANGED
@@ -118,7 +118,7 @@ Visit <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeg
118
 
119
  Yes! We have extensive documentation that covers setting up SMTP most popular email services.
120
 
121
- <a href="How to Set Up WordPress SMTP Using WP Mail SMTP by WPForms" rel="friend">Read our docs</a> to see the correct SMTP settings for each service.
122
 
123
  = Help! I need support or have an issue. =
124
 
@@ -146,6 +146,9 @@ By all means please contact us to discuss features or options you'd like to see
146
 
147
  == Changelog ==
148
 
 
 
 
149
  = 1.0.0 - 2017-12-12 =
150
  * Added: Automatic migration tool to move options from older storage format to a new one.
151
  * Added: Added Gmail & G Suite email provider integration - without your email and password.
118
 
119
  Yes! We have extensive documentation that covers setting up SMTP most popular email services.
120
 
121
+ <a href="https://wpforms.com/docs/how-to-set-up-smtp-using-the-wp-mail-smtp-plugin/" rel="friend">Read our docs</a> to see the correct SMTP settings for each service.
122
 
123
  = Help! I need support or have an issue. =
124
 
146
 
147
  == Changelog ==
148
 
149
+ = 1.0.1 - 2017-12-12 =
150
+ * Fixed: Global POST processing conflict.
151
+
152
  = 1.0.0 - 2017-12-12 =
153
  * Added: Automatic migration tool to move options from older storage format to a new one.
154
  * Added: Added Gmail & G Suite email provider integration - without your email and password.
src/Admin/Area.php CHANGED
@@ -263,7 +263,14 @@ class Area {
263
  * @return string
264
  */
265
  protected function get_current_tab() {
266
- return ! empty( $_GET['tab'] ) ? sanitize_key( $_GET['tab'] ) : 'settings';
 
 
 
 
 
 
 
267
  }
268
 
269
  /**
@@ -310,7 +317,7 @@ class Area {
310
  *
311
  * @return bool
312
  */
313
- protected function is_admin_page() {
314
 
315
  $page = isset( $_GET['page'] ) ? $_GET['page'] : '';
316
 
263
  * @return string
264
  */
265
  protected function get_current_tab() {
266
+
267
+ $current = '';
268
+
269
+ if ( $this->is_admin_page() ) {
270
+ $current = ! empty( $_GET['tab'] ) ? sanitize_key( $_GET['tab'] ) : 'settings';
271
+ }
272
+
273
+ return $current;
274
  }
275
 
276
  /**
317
  *
318
  * @return bool
319
  */
320
+ public function is_admin_page() {
321
 
322
  $page = isset( $_GET['page'] ) ? $_GET['page'] : '';
323
 
wp_mail_smtp.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: WP Mail SMTP
4
- * Version: 1.0.0
5
  * Plugin URI: https://wpforms.com/
6
  * Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.
7
  * Author: WPForms
1
  <?php
2
  /**
3
  * Plugin Name: WP Mail SMTP
4
+ * Version: 1.0.1
5
  * Plugin URI: https://wpforms.com/
6
  * Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.
7
  * Author: WPForms