Minimal Coming Soon & Maintenance Mode - Version 2.35

Version Description

  • 2022-05-22
  • minor security issue fixed (thank you Automattic for reporting it)
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Minimal Coming Soon & Maintenance Mode
Version 2.35
Comparing to
See all releases

Code changes from version 2.33 to 2.35

framework/admin/settings.php CHANGED
@@ -170,7 +170,7 @@ function csmm_admin_settings() {
170
  'antispam_font_color' => strip_tags( $_POST['signals_csmm_antispam_color'] ),
171
 
172
  'input_text' => strip_tags( $_POST['signals_csmm_input_text'] ),
173
- 'button_text' => strip_tags( $_POST['signals_csmm_button_text'] ),
174
  'gdpr_text' => trim($_POST['signals_csmm_gdpr_text']),
175
  'gdpr_fail' => trim($_POST['signals_csmm_gdpr_fail']),
176
  'ignore_form_styles' => $tmp_options['form_styles'],
@@ -190,9 +190,9 @@ function csmm_admin_settings() {
190
  'success_color' => strip_tags( $_POST['signals_csmm_success_color'] ),
191
  'error_background' => strip_tags( $_POST['signals_csmm_error_bg'] ),
192
  'error_color' => strip_tags( $_POST['signals_csmm_error_color'] ),
193
- 'form_placeholder_color' => strip_tags( $_POST['form_placeholder_color'] ),
194
 
195
- 'disable_settings' => $tmp_options['disabled'],
196
  'disable_adminbar' => $tmp_options['disable_adminbar'],
197
  'custom_html' => $_POST['signals_csmm_html'], // Not sanitizing the HTML and CSS provided by the admin
198
  'custom_css' => $_POST['signals_csmm_css'] // again, not sanitized Giving full freedom to them :)
170
  'antispam_font_color' => strip_tags( $_POST['signals_csmm_antispam_color'] ),
171
 
172
  'input_text' => strip_tags( $_POST['signals_csmm_input_text'] ),
173
+ 'button_text' => strip_tags( $_POST['signals_csmm_button_text'] ),
174
  'gdpr_text' => trim($_POST['signals_csmm_gdpr_text']),
175
  'gdpr_fail' => trim($_POST['signals_csmm_gdpr_fail']),
176
  'ignore_form_styles' => $tmp_options['form_styles'],
190
  'success_color' => strip_tags( $_POST['signals_csmm_success_color'] ),
191
  'error_background' => strip_tags( $_POST['signals_csmm_error_bg'] ),
192
  'error_color' => strip_tags( $_POST['signals_csmm_error_color'] ),
193
+ 'form_placeholder_color' => strip_tags( $_POST['form_placeholder_color'] ),
194
 
195
+ 'disable_settings' => $tmp_options['disabled'],
196
  'disable_adminbar' => $tmp_options['disable_adminbar'],
197
  'custom_html' => $_POST['signals_csmm_html'], // Not sanitizing the HTML and CSS provided by the admin
198
  'custom_css' => $_POST['signals_csmm_css'] // again, not sanitized Giving full freedom to them :)
framework/admin/views/settings-advanced.php CHANGED
@@ -58,7 +58,7 @@ if (!defined('WPINC')) {
58
  <div class="signals-form-group">
59
  <label for="signals_csmm_html" class="signals-strong"><?php _e( 'Custom HTML', 'signals' ); ?></label>
60
  <div id="signals_csmm_html_editor"></div>
61
- <textarea name="signals_csmm_html" id="signals_csmm_html" rows="8" placeholder="<?php _e( 'Custom HTML for the plugin', 'signals' ); ?>"><?php echo stripslashes( $signals_csmm_options['custom_html'] ); ?></textarea>
62
 
63
  <p class="signals-form-help-block"><?php echo __( 'Custom HTML for the plugin goes over here. Please note that ', 'signals' ) . '<i style="color: #f96773">' . __( '[html], [head], [title], [meta], [body], and similar tags', 'signals' ) . '</i>' . __( ' are not required. Only provide content HTML for the page.', 'signals' ); ?></p>
64
  <p class="signals-form-help-block"><?php _e( 'To insert subscription form anywhere in the HTML, simply use the placeholder <strong>{{form}}</strong> and you are done. This should only be used if you have enabled the above option to use custom HTML only.', 'signals' ); ?></p>
@@ -67,7 +67,7 @@ if (!defined('WPINC')) {
67
  <div class="signals-form-group">
68
  <label for="signals_csmm_css" class="signals-strong"><?php _e( 'Custom CSS', 'signals' ); ?></label>
69
  <div id="signals_csmm_css_editor"></div>
70
- <textarea name="signals_csmm_css" id="signals_csmm_css" class="Signals_csmm_Block" rows="8" placeholder="<?php _e( 'Custom CSS for the plugin', 'signals' ); ?>"><?php echo stripslashes( $signals_csmm_options['custom_css'] ); ?></textarea>
71
 
72
  <p class="signals-form-help-block"><?php _e( 'Custom CSS for the plugin goes over here.', 'signals' ); ?></p>
73
  </div>
58
  <div class="signals-form-group">
59
  <label for="signals_csmm_html" class="signals-strong"><?php _e( 'Custom HTML', 'signals' ); ?></label>
60
  <div id="signals_csmm_html_editor"></div>
61
+ <textarea name="signals_csmm_html" id="signals_csmm_html" rows="8" placeholder="<?php _e( 'Custom HTML for the plugin', 'signals' ); ?>"><?php echo htmlentities(stripslashes( $signals_csmm_options['custom_html'] )); ?></textarea>
62
 
63
  <p class="signals-form-help-block"><?php echo __( 'Custom HTML for the plugin goes over here. Please note that ', 'signals' ) . '<i style="color: #f96773">' . __( '[html], [head], [title], [meta], [body], and similar tags', 'signals' ) . '</i>' . __( ' are not required. Only provide content HTML for the page.', 'signals' ); ?></p>
64
  <p class="signals-form-help-block"><?php _e( 'To insert subscription form anywhere in the HTML, simply use the placeholder <strong>{{form}}</strong> and you are done. This should only be used if you have enabled the above option to use custom HTML only.', 'signals' ); ?></p>
67
  <div class="signals-form-group">
68
  <label for="signals_csmm_css" class="signals-strong"><?php _e( 'Custom CSS', 'signals' ); ?></label>
69
  <div id="signals_csmm_css_editor"></div>
70
+ <textarea name="signals_csmm_css" id="signals_csmm_css" class="Signals_csmm_Block" rows="8" placeholder="<?php _e( 'Custom CSS for the plugin', 'signals' ); ?>"><?php echo htmlentities(stripslashes( $signals_csmm_options['custom_css'] )); ?></textarea>
71
 
72
  <p class="signals-form-help-block"><?php _e( 'Custom CSS for the plugin goes over here.', 'signals' ); ?></p>
73
  </div>
minimal-coming-soon-maintenance-mode.php CHANGED
@@ -3,10 +3,10 @@
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
- * Version: 2.33
7
  * Requires at least: 4.0
8
  * Requires PHP: 5.2
9
- * Tested up to: 5.6
10
  * Author: WebFactory Ltd
11
  * Author URI: https://www.webfactoryltd.com/
12
  * License: GPLv3
@@ -14,7 +14,7 @@
14
  *
15
  *
16
  * Minimal Coming Soon & Maintenance Mode Plugin
17
- * Copyright (C) 2016 - 2021, WebFactory Ltd - support@webfactoryltd.com
18
  *
19
  * This program is free software: you can redistribute it and/or modify
20
  * it under the terms of the GNU General Public License as published by
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
+ * Version: 2.35
7
  * Requires at least: 4.0
8
  * Requires PHP: 5.2
9
+ * Tested up to: 6.0
10
  * Author: WebFactory Ltd
11
  * Author URI: https://www.webfactoryltd.com/
12
  * License: GPLv3
14
  *
15
  *
16
  * Minimal Coming Soon & Maintenance Mode Plugin
17
+ * Copyright (C) 2016 - 2022, WebFactory Ltd - support@webfactoryltd.com
18
  *
19
  * This program is free software: you can redistribute it and/or modify
20
  * it under the terms of the GNU General Public License as published by
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: WebFactory
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, subscribe form, maintenance, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
- Tested up to: 5.9
7
- Stable tag: 2.33
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -84,6 +84,10 @@ Yes and no. When activated it enables itself across the entire WP-MU network.
84
 
85
  == Changelog ==
86
 
 
 
 
 
87
  = 2.33 =
88
  * 2021-07-06
89
  * new background images
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, subscribe form, maintenance, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
+ Tested up to: 6.1
7
+ Stable tag: 2.35
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 2.35 =
88
+ * 2022-05-22
89
+ * minor security issue fixed (thank you Automattic for reporting it)
90
+
91
  = 2.33 =
92
  * 2021-07-06
93
  * new background images