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

Version Description

Download this release

Release Info

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

Code changes from version 3.8.6 to 3.8.7

Files changed (3) hide show
  1. inc/render/language-switcher.php +1 -1
  2. niteo-cmp.php +5 -5
  3. readme.txt +13 -8
inc/render/language-switcher.php CHANGED
@@ -12,7 +12,7 @@ if ( function_exists('pll_the_languages') ) {
12
  $flag = pathinfo($translations[$current_lang_slug]['flag']);
13
 
14
  } else if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
15
- $translations = apply_filters( 'wpml_active_languages', NULL );
16
  if ( empty($translations) ) return;
17
  $flag = pathinfo( substr($translations[$current_lang_slug]['default_locale'], -2));
18
 
12
  $flag = pathinfo($translations[$current_lang_slug]['flag']);
13
 
14
  } else if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
15
+ $translations = apply_filters( 'wpml_active_languages', NULL, array('skip_missing' => 0) );
16
  if ( empty($translations) ) return;
17
  $flag = pathinfo( substr($translations[$current_lang_slug]['default_locale'], -2));
18
 
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.8.6
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.8.6' );
67
  $this->define( 'CMP_DEBUG', FALSE );
68
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
69
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
@@ -147,7 +147,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
147
  $this->render_settings = new cmp_render_settings();
148
 
149
  wp_register_style( 'cmp-style', plugins_url('/css/cmp-settings-style'.CMP_ASSET_SUFFIX.'.css', __FILE__),'', CMP_VERSION );
150
- wp_register_style( 'font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
151
  wp_register_style( 'countdown_flatpicker_css', plugins_url('/css/flatpickr.min.css', __FILE__) );
152
  wp_register_style( 'animate-css', plugins_url('/css/animate'.CMP_ASSET_SUFFIX.'.css', __FILE__) );
153
  wp_register_script( 'webfont', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', array(), '1.6.26', true );
@@ -644,7 +644,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
644
  }
645
 
646
  wp_enqueue_style( 'wp-color-picker' );
647
- wp_enqueue_style( 'font-awesome' );
648
 
649
  if ( in_array( $this->cmp_selectedTheme(), $this->cmp_font_animation_themes() ) ) {
650
  wp_enqueue_style('animate-css');
@@ -676,7 +676,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
676
  public function cmp_advanced_page() {
677
  wp_enqueue_script( 'cmp-select2-js' );
678
  wp_enqueue_script( 'cmp_advanced_js' );
679
- wp_enqueue_style( 'font-awesome' );
680
  require_once ('cmp-advanced.php');
681
  }
682
 
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.8.7
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.8.7' );
67
  $this->define( 'CMP_DEBUG', FALSE );
68
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
69
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
147
  $this->render_settings = new cmp_render_settings();
148
 
149
  wp_register_style( 'cmp-style', plugins_url('/css/cmp-settings-style'.CMP_ASSET_SUFFIX.'.css', __FILE__),'', CMP_VERSION );
150
+ wp_register_style( 'cmp-font-awesome', plugins_url('/css/font-awesome.min.css', __FILE__) );
151
  wp_register_style( 'countdown_flatpicker_css', plugins_url('/css/flatpickr.min.css', __FILE__) );
152
  wp_register_style( 'animate-css', plugins_url('/css/animate'.CMP_ASSET_SUFFIX.'.css', __FILE__) );
153
  wp_register_script( 'webfont', 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', array(), '1.6.26', true );
644
  }
645
 
646
  wp_enqueue_style( 'wp-color-picker' );
647
+ wp_enqueue_style( 'cmp-font-awesome' );
648
 
649
  if ( in_array( $this->cmp_selectedTheme(), $this->cmp_font_animation_themes() ) ) {
650
  wp_enqueue_style('animate-css');
676
  public function cmp_advanced_page() {
677
  wp_enqueue_script( 'cmp-select2-js' );
678
  wp_enqueue_script( 'cmp_advanced_js' );
679
+ wp_enqueue_style( 'cmp-font-awesome' );
680
  require_once ('cmp-advanced.php');
681
  }
682
 
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.5
8
- Stable tag: 3.8.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -50,13 +50,13 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
50
 
51
  <h3>Compatible Plugins</h3>
52
  <ul>
53
- <li><a href="https://wordpress.org/plugins/insert-headers-and-footers/" target="_blank>Insert Headers and Footers</a> fully compatible.</li>
54
- <li><a href="https://wordpress.org/plugins/simpleanalytics/" target="_blank>Simple Analytics</a> fully compatible.</li>
55
- <li><a href="https://wordpress.org/plugins/mailpoet/" target="_blank>MailPoet – Emails and Newsletters in WordPress</a> fully integrated.</li>
56
- <li><a href="https://mailster.co/" target="_blank>Mailster – The Ultimate Newsletter Plugin for WordPress</a> fully integrated.</li>
57
- <li><a href="https://wordpress.org/plugins/mailoptin/" target="_blank>MailOptin – WordPress Popup, Optin Form, Email Newsletter Plugin</a> fully integrated.</li>
58
- <li><a href="https://wordpress.org/plugins/wps-hide-login/" target="_blank>WPS Hide Login full automatic compatibility.</li>
59
- <li><a href="https://wordpress.org/plugins/cookie-notice/" target="_blank>Cookie Notice for GDPR & CCPA full automatic compatibility.</li>
60
  <li>We are working on more plugins to be compatible with CMP - feel free to send us suggestions what plugin you might need together with CMP.</li>
61
  </ul>
62
 
@@ -159,6 +159,11 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
159
  <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>
160
 
161
  == Changelog ==
 
 
 
 
 
162
  <h4>CMP 3.8.6 - 09-Sept-20</h4>
163
  <ul>
164
  <li>Resolved PHP notices generated by WPML Language Switcher if there are not languages configured in WPML.</li>
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.5
8
+ Stable tag: 3.8.7
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
50
 
51
  <h3>Compatible Plugins</h3>
52
  <ul>
53
+ <li><a href="https://wordpress.org/plugins/insert-headers-and-footers/" target="_blank">Insert Headers and Footers</a> fully compatible.</li>
54
+ <li><a href="https://wordpress.org/plugins/simpleanalytics/" target="_blank">Simple Analytics</a> fully compatible.</li>
55
+ <li><a href="https://wordpress.org/plugins/mailpoet/" target="_blank">MailPoet – Emails and Newsletters in WordPress</a> fully integrated.</li>
56
+ <li><a href="https://mailster.co/" target="_blank">Mailster – The Ultimate Newsletter Plugin for WordPress</a> fully integrated.</li>
57
+ <li><a href="https://wordpress.org/plugins/mailoptin/" target="_blank">MailOptin – WordPress Popup, Optin Form, Email Newsletter Plugin</a> fully integrated.</li>
58
+ <li><a href="https://wordpress.org/plugins/wps-hide-login/" target="_blank">WPS Hide Login full automatic compatibility.</li>
59
+ <li><a href="https://wordpress.org/plugins/cookie-notice/" target="_blank">Cookie Notice for GDPR & CCPA full automatic compatibility.</li>
60
  <li>We are working on more plugins to be compatible with CMP - feel free to send us suggestions what plugin you might need together with CMP.</li>
61
  </ul>
62
 
159
  <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>
160
 
161
  == Changelog ==
162
+ <h4>CMP 3.8.7 - 04-Oct-20</h4>
163
+ <ul>
164
+ <li>Resolved issue with confict between CMP and WooCommerce Order Status Manager when using Font Awesome icons. Thanks to @swiss13 for reporting this and helping us to resolve it.</li>
165
+ </ul>
166
+
167
  <h4>CMP 3.8.6 - 09-Sept-20</h4>
168
  <ul>
169
  <li>Resolved PHP notices generated by WPML Language Switcher if there are not languages configured in WPML.</li>