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

Version Description

Download this release

Release Info

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

Code changes from version 4.0.5 to 4.0.6

Files changed (2) hide show
  1. niteo-cmp.php +5 -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: 4.0.5
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -62,7 +62,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
62
 
63
  // define constants
64
  private function constants() {
65
- $this->define( 'CMP_VERSION', '4.0.5' );
66
  $this->define( 'CMP_DEBUG', FALSE );
67
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
68
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
@@ -121,7 +121,9 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
121
  add_filter( 'rest_authentication_errors', array( $this, 'restrict_rest_api'), 0, 1 );
122
  }
123
 
124
- add_action( 'cmp_footer', 'stats_footer', 101 );
 
 
125
 
126
  }
127
 
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: 4.0.6
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
62
 
63
  // define constants
64
  private function constants() {
65
+ $this->define( 'CMP_VERSION', '4.0.6' );
66
  $this->define( 'CMP_DEBUG', FALSE );
67
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
68
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
121
  add_filter( 'rest_authentication_errors', array( $this, 'restrict_rest_api'), 0, 1 );
122
  }
123
 
124
+ if ( function_exists( 'stats_footer' ) ) {
125
+ add_action( 'cmp_footer', 'stats_footer', 101 );
126
+ }
127
 
128
  }
129
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, coming soon page, launch page, maintenance mode, under constr
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.7
8
- Stable tag: 4.0.5
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -160,6 +160,11 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
160
  <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>
161
 
162
  == Changelog ==
 
 
 
 
 
163
  <h4>CMP 4.0.5 - 09-Mar-21</h4>
164
  <ul>
165
  <li>Added compatibility with JetPack stats.</li>
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.7
8
+ Stable tag: 4.0.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
160
  <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>
161
 
162
  == Changelog ==
163
+ <h4>CMP 4.0.6 - 10-Mar-21</h4>
164
+ <ul>
165
+ <li>Removed PHP notice.</li>
166
+ </ul>
167
+
168
  <h4>CMP 4.0.5 - 09-Mar-21</h4>
169
  <ul>
170
  <li>Added compatibility with JetPack stats.</li>