Coming Soon, Under Construction & Maintenance Page - Version 1.58

Version Description

  • 2020/08/25
  • security fixes
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Coming Soon, Under Construction & Maintenance Page
Version 1.58
Comparing to
See all releases

Code changes from version 1.57 to 1.58

admin/includes/class-ot-meta-box.php CHANGED
@@ -207,7 +207,7 @@ if ( ! class_exists( 'OT_Meta_Box' ) ) {
207
  global $pagenow;
208
 
209
  // Verify nonce.
210
- if ( isset( $_POST[ $this->meta_box['id'] . '_nonce' ] ) && ! wp_verify_nonce( $_POST[ $this->meta_box['id'] . '_nonce' ], $this->meta_box['id'] ) ) { // phpcs:ignore
211
  return $post_id;
212
  }
213
 
207
  global $pagenow;
208
 
209
  // Verify nonce.
210
+ if (empty($_POST[ $this->meta_box['id'] . '_nonce']) || !wp_verify_nonce($_POST[ $this->meta_box['id'] . '_nonce'], $this->meta_box['id'])) {
211
  return $post_id;
212
  }
213
 
admin/includes/ot-meta-box-api.php CHANGED
@@ -201,8 +201,10 @@ if ( ! class_exists( 'OT_Meta_Box' ) ) {
201
  return $post_id;
202
 
203
  /* verify nonce */
204
- if ( isset( $_POST[ $this->meta_box['id'] . '_nonce'] ) && ! wp_verify_nonce( $_POST[ $this->meta_box['id'] . '_nonce'], $this->meta_box['id'] ) )
205
  return $post_id;
 
 
206
 
207
  /* check permissions */
208
  if ( isset( $_POST['post_type'] ) && 'page' == $_POST['post_type'] ) {
201
  return $post_id;
202
 
203
  /* verify nonce */
204
+ if (empty($_POST[$this->meta_box['id'] . '_nonce']) || !wp_verify_nonce($_POST[$this->meta_box['id'] . '_nonce'], $this->meta_box['id'])) {
205
  return $post_id;
206
+ }
207
+
208
 
209
  /* check permissions */
210
  if ( isset( $_POST['post_type'] ) && 'page' == $_POST['post_type'] ) {
nifty-coming-soon.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
- Version: 1.57
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
@@ -35,9 +35,6 @@ function nifty_cs_custom_menu()
35
  }
36
 
37
 
38
-
39
-
40
-
41
  function nifty_cs_redirect_x(){
42
 
43
 
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
+ Version: 1.58
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
35
  }
36
 
37
 
 
 
 
38
  function nifty_cs_redirect_x(){
39
 
40
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Coming Soon & Maintenance Mode Page ===
2
- Contributors: WebFactory, wpreset, underconstructionpage, googlemapswidget
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
  Tested up to: 5.5
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
- Stable tag: 1.57
8
  Requires PHP: 5.2
9
 
10
  Nifty Coming Soon & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
@@ -42,7 +42,7 @@ The plugin should work with any WordPress theme and the installation and setup a
42
 
43
  ### NEED MORE THEMES?
44
 
45
- Check out <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme-nifty&utm_content=theme-demos">theme demos</a> plugin ! We have over 100!
46
 
47
 
48
  ### PROPOSE NEW FEATURES
@@ -85,6 +85,10 @@ As from the update of 1.0.9, the plugin offers the way to Live Preview you're Co
85
 
86
  == Changelog ==
87
 
 
 
 
 
88
  = 1.57 =
89
  * 2020/06/23
90
  * bug fixes
1
  === Coming Soon & Maintenance Mode Page ===
2
+ Contributors: WebFactory
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
  Tested up to: 5.5
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
+ Stable tag: 1.58
8
  Requires PHP: 5.2
9
 
10
  Nifty Coming Soon & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
42
 
43
  ### NEED MORE THEMES?
44
 
45
+ Check out <a href="https://comingsoonwp.com/?utm_source=wordpressorg">theme demos</a> plugin ! We have over 170!
46
 
47
 
48
  ### PROPOSE NEW FEATURES
85
 
86
  == Changelog ==
87
 
88
+ = 1.58 =
89
+ * 2020/08/25
90
+ * security fixes
91
+
92
  = 1.57 =
93
  * 2020/06/23
94
  * bug fixes