CMP – Coming Soon & Maintenance Plugin by NiteoThemes - Version 3.4.2

Version Description

Download this release

Release Info

Developer niteo
Plugin Icon 128x128 CMP – Coming Soon & Maintenance Plugin by NiteoThemes
Version 3.4.2
Comparing to
See all releases

Code changes from version 3.4.1 to 3.4.2

Files changed (2) hide show
  1. niteo-cmp.php +3 -3
  2. readme.txt +6 -1
niteo-cmp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
- Version: 3.4.1
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -65,7 +65,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
65
 
66
  private function constants() {
67
  // define constants
68
- $this->define( 'CMP_VERSION', '3.4.1' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
@@ -1789,7 +1789,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
1789
 
1790
  $page_wl_custom = json_decode(get_option('niteoCS_page_whitelist_custom', '[]'), true);
1791
 
1792
- if ( !empty( $page_wl_custom && in_array( $current_url,$page_wl_custom ) ) ) {
1793
  return true;
1794
  }
1795
 
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
+ Version: 3.4.2
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
65
 
66
  private function constants() {
67
  // define constants
68
+ $this->define( 'CMP_VERSION', '3.4.2' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
1789
 
1790
  $page_wl_custom = json_decode(get_option('niteoCS_page_whitelist_custom', '[]'), true);
1791
 
1792
+ if ( !empty( $page_wl_custom ) && in_array( $current_url,$page_wl_custom ) ) {
1793
  return true;
1794
  }
1795
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KV2JF
4
  Tags: coming soon, landing page, launch page, maintenance mode, under construction
5
  Requires at least: 3.0
6
  Tested up to: 5.1
7
- Stable tag: 3.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -123,6 +123,11 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
123
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
124
 
125
  == Changelog ==
 
 
 
 
 
126
  <h4>CMP 3.4.1 - 12-Mar-19</h4>
127
  <ul>
128
  <li>Removed hardcored URL for WhiteList/Blacklist settings. Sorry guys, it is late in night!</li>
4
  Tags: coming soon, landing page, launch page, maintenance mode, under construction
5
  Requires at least: 3.0
6
  Tested up to: 5.1
7
+ Stable tag: 3.4.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
123
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
124
 
125
  == Changelog ==
126
+ <h4>CMP 3.4.2 - 13-Mar-19</h4>
127
+ <ul>
128
+ <li>Corrected PHP syntax in Whitelist Settings causing Fatal Error on PHP! Thanks million times to @n10s</li>
129
+ </ul>
130
+
131
  <h4>CMP 3.4.1 - 12-Mar-19</h4>
132
  <ul>
133
  <li>Removed hardcored URL for WhiteList/Blacklist settings. Sorry guys, it is late in night!</li>