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

Version Description

Download this release

Release Info

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

Code changes from version 3.4 to 3.4.1

cmp-settings.php CHANGED
@@ -620,7 +620,7 @@ add_thickbox();
620
  <?php _e('Homepage only', 'cmp-coming-soon-maintenance');?>
621
  </label>
622
 
623
- <a href="https://niteothemes.com/dev/wp-admin/admin.php?page=cmp-advanced"><div class="label<?php echo ($cmp_status_pages == '2') ? ' active' : '';?>">
624
  <input type="radio" name="cmp-status-pages" id="cmp-status-pages-2" value="2" <?php checked( '2', $cmp_status_pages ); ?>>
625
  <?php _e('Whitelist/Blacklist', 'cmp-coming-soon-maintenance');?>
626
  </div></a>
620
  <?php _e('Homepage only', 'cmp-coming-soon-maintenance');?>
621
  </label>
622
 
623
+ <a href="<?php echo admin_url(); ?>admin.php?page=cmp-advanced"><div class="label<?php echo ($cmp_status_pages == '2') ? ' active' : '';?>">
624
  <input type="radio" name="cmp-status-pages" id="cmp-status-pages-2" value="2" <?php checked( '2', $cmp_status_pages ); ?>>
625
  <?php _e('Whitelist/Blacklist', 'cmp-coming-soon-maintenance');?>
626
  </div></a>
inc/class-cmp-render_html.php CHANGED
@@ -107,8 +107,6 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
107
  default:
108
  break;
109
  }
110
-
111
-
112
  // get raw url from response
113
  if ( isset( $unsplash['response'] ) && $unsplash['response'] == '200' ) {
114
  $body = json_decode ($unsplash['body'], true );
@@ -260,6 +258,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
260
  case '7':
261
  $html ='<div id="background-image" class="color chameleon loaded"></div>';
262
  break;
 
263
  default:
264
  break;
265
  }
@@ -1316,6 +1315,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
1316
  case 'eclipse': ?>
1317
  .particles-js-canvas-el {z-index: 1;}
1318
  <?php
 
1319
  default:
1320
  break;
1321
  } ?>
107
  default:
108
  break;
109
  }
 
 
110
  // get raw url from response
111
  if ( isset( $unsplash['response'] ) && $unsplash['response'] == '200' ) {
112
  $body = json_decode ($unsplash['body'], true );
258
  case '7':
259
  $html ='<div id="background-image" class="color chameleon loaded"></div>';
260
  break;
261
+
262
  default:
263
  break;
264
  }
1315
  case 'eclipse': ?>
1316
  .particles-js-canvas-el {z-index: 1;}
1317
  <?php
1318
+ break;
1319
  default:
1320
  break;
1321
  } ?>
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
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' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $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.4.1
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.1' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
readme.txt CHANGED
@@ -11,7 +11,6 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  Display beautiful Coming soon(under construction), Maintenance or Landing page on your website, packed with premium features for free.
12
 
13
  == Description ==
14
- [](http://coderisk.com/wp/plugin/cmp-coming-soon-maintenance/RIPS-iUar3EBSC9)
15
  CMP – Coming Soon & Maintenance plugin has all premium features you ever wished for, and it is free! It is also super fast and user friendly. You can activate your Maintenance, Coming soon(under construction) or Landing page with a single click. But it is also customizable in many ways - you can select a layout from predefined Themes, set custom logo, background graphics (including YouTube videos or Unsplash images), custom content, subscribe forms, popular social networks icons, typography, colors, SEO, and many more.
16
 
17
  Packed with functions like Whitelist/Blacklist to enable CMP only on specific pages, User Roles Management, custom URL Bypass, Translation strings, custom Subscribers option and many more you would not believe it is free. No ADS too, guaranteed!
@@ -124,6 +123,11 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
124
  <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>
125
 
126
  == Changelog ==
 
 
 
 
 
127
  <h4>CMP 3.4 - 12-Mar-19</h4>
128
  <ul>
129
  <li>CMP Subscribe form works again with firstname and lastname inputs, which was broken by last update. Thanks Jim!</li>
@@ -131,7 +135,6 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
131
  <li>New quick option to enable CMP for whole website or Homepage only.</li>
132
  </ul>
133
 
134
-
135
  <h4>CMP 3.3.2 - 27-Feb-19</h4>
136
  <ul>
137
  <li>Added Spotify to social media icons as requested.</li>
11
  Display beautiful Coming soon(under construction), Maintenance or Landing page on your website, packed with premium features for free.
12
 
13
  == Description ==
 
14
  CMP – Coming Soon & Maintenance plugin has all premium features you ever wished for, and it is free! It is also super fast and user friendly. You can activate your Maintenance, Coming soon(under construction) or Landing page with a single click. But it is also customizable in many ways - you can select a layout from predefined Themes, set custom logo, background graphics (including YouTube videos or Unsplash images), custom content, subscribe forms, popular social networks icons, typography, colors, SEO, and many more.
15
 
16
  Packed with functions like Whitelist/Blacklist to enable CMP only on specific pages, User Roles Management, custom URL Bypass, Translation strings, custom Subscribers option and many more you would not believe it is free. No ADS too, guaranteed!
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>
129
+ </ul>
130
+
131
  <h4>CMP 3.4 - 12-Mar-19</h4>
132
  <ul>
133
  <li>CMP Subscribe form works again with firstname and lastname inputs, which was broken by last update. Thanks Jim!</li>
135
  <li>New quick option to enable CMP for whole website or Homepage only.</li>
136
  </ul>
137
 
 
138
  <h4>CMP 3.3.2 - 27-Feb-19</h4>
139
  <ul>
140
  <li>Added Spotify to social media icons as requested.</li>