Popups by OptinMonster – Best WordPress Lead Generation Plugin - Version 1.9.18

Version Description

  • Fixed a bug where review notice wouldn't get dismissed.
  • Update the readme to be explicit about OptinMonster being a service.
Download this release

Release Info

Developer thebrandonallen
Plugin Icon 128x128 Popups by OptinMonster – Best WordPress Lead Generation Plugin
Version 1.9.18
Comparing to
See all releases

Code changes from version 1.9.17 to 1.9.18

Files changed (3) hide show
  1. OMAPI/Review.php +7 -6
  2. optin-monster-wp-api.php +2 -2
  3. readme.txt +5 -1
OMAPI/Review.php CHANGED
@@ -58,11 +58,6 @@ class OMAPI_Review {
58
  return;
59
  }
60
 
61
- // If user is in admin ajax or doing cron, return.
62
- if ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
63
- return;
64
- }
65
-
66
  // If user is not logged in, return.
67
  if ( ! is_user_logged_in() ) {
68
  return;
@@ -76,9 +71,15 @@ class OMAPI_Review {
76
  // Set our object.
77
  $this->set();
78
 
 
 
 
 
 
 
 
79
  // Review Notices
80
  add_action( 'admin_notices', array( $this, 'review' ) );
81
- add_action( 'wp_ajax_omapi_dismiss_review', array( $this, 'dismiss_review' ) );
82
  }
83
 
84
  /**
58
  return;
59
  }
60
 
 
 
 
 
 
61
  // If user is not logged in, return.
62
  if ( ! is_user_logged_in() ) {
63
  return;
71
  // Set our object.
72
  $this->set();
73
 
74
+ add_action( 'wp_ajax_omapi_dismiss_review', array( $this, 'dismiss_review' ) );
75
+
76
+ // If user is in admin ajax or doing cron, return.
77
+ if ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
78
+ return;
79
+ }
80
+
81
  // Review Notices
82
  add_action( 'admin_notices', array( $this, 'review' ) );
 
83
  }
84
 
85
  /**
optin-monster-wp-api.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
- * Version: 1.9.17
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
@@ -62,7 +62,7 @@ class OMAPI {
62
  *
63
  * @var string
64
  */
65
- public $version = '1.9.17';
66
 
67
  /**
68
  * The name of the plugin.
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
+ * Version: 1.9.18
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
62
  *
63
  * @var string
64
  */
65
+ public $version = '1.9.18';
66
 
67
  /**
68
  * The name of the plugin.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: marketing, popups, popup builder, newsletter, conversion, optin forms, for
4
  Requires at least: 4.7.0
5
  Tested up to: 5.5
6
  Requires PHP: 5.3
7
- Stable tag: 1.9.17
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
@@ -471,6 +471,10 @@ Syed Balkhi
471
 
472
  **Most Recent Changes:**
473
 
 
 
 
 
474
  = 1.9.17 =
475
  * Fixed a bug where taxonomy settings may not properly display.
476
  * Fixed an error that could occur when non-admins logged in.
4
  Requires at least: 4.7.0
5
  Tested up to: 5.5
6
  Requires PHP: 5.3
7
+ Stable tag: 1.9.18
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
471
 
472
  **Most Recent Changes:**
473
 
474
+ = 1.9.18 =
475
+ * Fixed a bug where review notice wouldn't get dismissed.
476
+ * Update the readme to be explicit about OptinMonster being a service.
477
+
478
  = 1.9.17 =
479
  * Fixed a bug where taxonomy settings may not properly display.
480
  * Fixed an error that could occur when non-admins logged in.