MailPoet Newsletters (Previous) - Version 2.7.11.2

Version Description

  • 2017-07-21 =
  • Fixed Premium version download link
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (Previous)
Version 2.7.11.2
Comparing to
See all releases

Code changes from version 2.7.11.1 to 2.7.11.2

Files changed (4) hide show
  1. classes/WJ_Upgrade.php +6 -11
  2. core/base.php +1 -1
  3. index.php +1 -1
  4. readme.txt +4 -1
classes/WJ_Upgrade.php CHANGED
@@ -86,18 +86,13 @@ class WJ_Upgrade extends WYSIJA_object {
86
  }
87
 
88
  public function iframe_intercept( $current_screen ) {
89
- if ( $current_screen->base !== 'mailpoet_page_wysija_config' ){
90
- return;
91
- }
92
 
93
- if ( ! isset( $_GET['action'] ) || $_GET['action'] !== 'packager-switch' ){
94
- return;
95
- }
96
-
97
- // Verify if it's has been created within the last 12 hours (nonce)
98
- if ( wp_verify_nonce( $_GET['_wpnonce'], $_GET['action'] ) !== 1 ){
99
- return;
100
- }
101
 
102
  // Require the Updater classes
103
  include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
86
  }
87
 
88
  public function iframe_intercept( $current_screen ) {
89
+ $is_mailpoet_page = preg_match('/^mailpoet.*?_page_wysija_config$/i', $current_screen->base);
90
+ $is_packager_switcher = (isset( $_GET['action'] ) && $_GET['action'] === 'packager-switch');
91
+ $is_valid_wp_nonce = (wp_verify_nonce( $_GET['_wpnonce'], $_GET['action'] ) === 1);
92
 
93
+ if(!$is_mailpoet_page || !$is_packager_switcher || !$is_valid_wp_nonce) {
94
+ return;
95
+ }
 
 
 
 
 
96
 
97
  // Require the Updater classes
98
  include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
core/base.php CHANGED
@@ -19,7 +19,7 @@ class WYSIJA_object{
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
- static $version = '2.7.11.1';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.7.11.2';
23
 
24
  function __construct(){}
25
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailPoet Newsletters
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. MailPoet is a sweet plugin maintained and supported with love.
6
- Version: 2.7.11.1
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
3
  Plugin Name: MailPoet Newsletters
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. MailPoet is a sweet plugin maintained and supported with love.
6
+ Version: 2.7.11.2
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wysija
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.5
5
  Tested up to: 4.8
6
- Stable tag: 2.7.11.1
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -132,6 +132,9 @@ Our [support site](http://support.mailpoet.com/) has plenty of articles and a ti
132
 
133
  == Changelog ==
134
 
 
 
 
135
  = 2.7.11.1 - 2017-07-17 =
136
  * Improved welcome and update pages
137
 
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.5
5
  Tested up to: 4.8
6
+ Stable tag: 2.7.11.2
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
132
 
133
  == Changelog ==
134
 
135
+ = 2.7.11.2 - 2017-07-21 =
136
+ * Fixed Premium version download link
137
+
138
  = 2.7.11.1 - 2017-07-17 =
139
  * Improved welcome and update pages
140