Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 3.9.6 |
Comparing to | |
See all releases |
Code changes from version 3.9.5 to 3.9.6
- inc/class-cmp-render_html.php +1 -1
- niteo-cmp.php +2 -2
- readme.txt +5 -1
inc/class-cmp-render_html.php
CHANGED
@@ -238,7 +238,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
|
|
238 |
**/
|
239 |
public function cmp_render_lang_switcher() {
|
240 |
$html = false;
|
241 |
-
if ( get_option('niteoCS_lang_switcher', '1') == '1' && function_exists('icl_register_string') ||
|
242 |
include dirname( __FILE__) . '/render/language-switcher.php';
|
243 |
}
|
244 |
return $html;
|
238 |
**/
|
239 |
public function cmp_render_lang_switcher() {
|
240 |
$html = false;
|
241 |
+
if ( get_option('niteoCS_lang_switcher', '1') == '1' && (function_exists('icl_register_string') || defined( 'ICL_SITEPRESS_VERSION' ))) {
|
242 |
include dirname( __FILE__) . '/render/language-switcher.php';
|
243 |
}
|
244 |
return $html;
|
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.9.
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
@@ -63,7 +63,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
63 |
|
64 |
// define constants
|
65 |
private function constants() {
|
66 |
-
$this->define( 'CMP_VERSION', '3.9.
|
67 |
$this->define( 'CMP_DEBUG', FALSE );
|
68 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
69 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
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.9.6
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
63 |
|
64 |
// define constants
|
65 |
private function constants() {
|
66 |
+
$this->define( 'CMP_VERSION', '3.9.6' );
|
67 |
$this->define( 'CMP_DEBUG', FALSE );
|
68 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
69 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
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.6
|
8 |
-
Stable tag: 3.9.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -160,6 +160,10 @@ 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 3.9.5 - 30-Dec-20</h4>
|
164 |
<ul>
|
165 |
<li>Resolved issue with not displaying RSS feed icon</li>
|
5 |
Requires at least: 3.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.6
|
8 |
+
Stable tag: 3.9.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 3.9.6 - 07-Jan-21</h4>
|
164 |
+
<ul>
|
165 |
+
<li>Resolved issue with displaying Language Switcher even with settings set to off if WPML plugin was enabled.</li>
|
166 |
+
</ul>
|
167 |
<h4>CMP 3.9.5 - 30-Dec-20</h4>
|
168 |
<ul>
|
169 |
<li>Resolved issue with not displaying RSS feed icon</li>
|