Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 3.6.11 |
Comparing to | |
See all releases |
Code changes from version 3.6.10 to 3.6.11
- niteo-cmp.php +3 -5
- readme.txt +6 -2
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.6.
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
@@ -64,7 +64,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
64 |
|
65 |
private function constants() {
|
66 |
// define constants
|
67 |
-
$this->define( 'CMP_VERSION', '3.6.
|
68 |
$this->define( 'CMP_DEBUG', FALSE );
|
69 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
70 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
@@ -549,8 +549,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
549 |
return;
|
550 |
}
|
551 |
|
552 |
-
|
553 |
-
|
554 |
// if CMP in redirect mode with 0 timeout, die early with redirect
|
555 |
if ( $this->cmp_mode() == 3 && get_option('niteoCS_redirect_time') == 0 ) {
|
556 |
|
@@ -1906,7 +1904,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
1906 |
$custom_login_url = get_option('niteoCS_custom_login_url', '');
|
1907 |
|
1908 |
// return early if login page
|
1909 |
-
if ( fnmatch( '*wp-login.php*', $current_url ) ) {
|
1910 |
return false;
|
1911 |
}
|
1912 |
|
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.6.11
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
64 |
|
65 |
private function constants() {
|
66 |
// define constants
|
67 |
+
$this->define( 'CMP_VERSION', '3.6.11' );
|
68 |
$this->define( 'CMP_DEBUG', FALSE );
|
69 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
70 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
549 |
return;
|
550 |
}
|
551 |
|
|
|
|
|
552 |
// if CMP in redirect mode with 0 timeout, die early with redirect
|
553 |
if ( $this->cmp_mode() == 3 && get_option('niteoCS_redirect_time') == 0 ) {
|
554 |
|
1904 |
$custom_login_url = get_option('niteoCS_custom_login_url', '');
|
1905 |
|
1906 |
// return early if login page
|
1907 |
+
if ( fnmatch( '*wp-login.php*', $current_url ) || wp_doing_ajax() ) {
|
1908 |
return false;
|
1909 |
}
|
1910 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, landing page, launch page, maintenance mode, under constructi
|
|
5 |
Requires at least: 3.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.3
|
8 |
-
Stable tag: 3.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -148,7 +148,11 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
|
|
148 |
<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>
|
149 |
|
150 |
== Changelog ==
|
151 |
-
<h4>CMP 3.6.
|
|
|
|
|
|
|
|
|
152 |
<ul>
|
153 |
<li>After recieveing few complaints that last update locked out admin screens, wp-admin.php has been whitelisted without home_url in a case WordPress URLs misconfiguration.</li>
|
154 |
</ul>
|
5 |
Requires at least: 3.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.3
|
8 |
+
Stable tag: 3.6.11
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
148 |
<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>
|
149 |
|
150 |
== Changelog ==
|
151 |
+
<h4>CMP 3.6.11 - 30-Dec-19</h4>
|
152 |
+
<ul>
|
153 |
+
<li>Ajax URL whitelisted as well.</li>
|
154 |
+
</ul>
|
155 |
+
<h4>CMP 3.6.10 - 30-Dec-19</h4>
|
156 |
<ul>
|
157 |
<li>After recieveing few complaints that last update locked out admin screens, wp-admin.php has been whitelisted without home_url in a case WordPress URLs misconfiguration.</li>
|
158 |
</ul>
|