Version Description
- 2017-11-19
- 30k users - 21/09/2017
- minor fixes
Download this release
Release Info
Developer | WebFactory |
Plugin | Minimal Coming Soon & Maintenance Mode |
Version | 1.40 |
Comparing to | |
See all releases |
Code changes from version 1.35 to 1.40
- framework/public/init.php +10 -11
- minimal-coming-soon-maintenance-mode.php +2 -2
- readme.txt +7 -2
framework/public/init.php
CHANGED
@@ -12,6 +12,16 @@ require_once 'include/functions.php';
|
|
12 |
|
13 |
|
14 |
function csmm_plugin_init() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
add_action('wp_ajax_csmm_subscribe', 'csmm_subscribe');
|
17 |
add_action('wp_ajax_csmm_subscribe_hide', 'csmm_subscribe_hide');
|
@@ -45,17 +55,6 @@ function csmm_plugin_init() {
|
|
45 |
$signals_csmm_options['custom_login_url'] = NULL;
|
46 |
}
|
47 |
|
48 |
-
// just to be on the safe side
|
49 |
-
if (defined('DOING_CRON') && DOING_CRON) {
|
50 |
-
return false;
|
51 |
-
}
|
52 |
-
if (defined('DOING_AJAX') && DOING_AJAX) {
|
53 |
-
return false;
|
54 |
-
}
|
55 |
-
if (defined('WP_CLI') && WP_CLI) {
|
56 |
-
return false;
|
57 |
-
}
|
58 |
-
|
59 |
// Not for the backend
|
60 |
// Only modifies the frontend of the system
|
61 |
if ( ! is_admin() ) {
|
12 |
|
13 |
|
14 |
function csmm_plugin_init() {
|
15 |
+
// just to be on the safe side
|
16 |
+
if (defined('DOING_CRON') && DOING_CRON) {
|
17 |
+
return false;
|
18 |
+
}
|
19 |
+
if (defined('DOING_AJAX') && DOING_AJAX) {
|
20 |
+
return false;
|
21 |
+
}
|
22 |
+
if (defined('WP_CLI') && WP_CLI) {
|
23 |
+
return false;
|
24 |
+
}
|
25 |
|
26 |
add_action('wp_ajax_csmm_subscribe', 'csmm_subscribe');
|
27 |
add_action('wp_ajax_csmm_subscribe_hide', 'csmm_subscribe_hide');
|
55 |
$signals_csmm_options['custom_login_url'] = NULL;
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
// Not for the backend
|
59 |
// Only modifies the frontend of the system
|
60 |
if ( ! is_admin() ) {
|
minimal-coming-soon-maintenance-mode.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Minimal Coming Soon & Maintenance Mode
|
5 |
* Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
|
6 |
* Description: Simply awesome coming soon & maintenance mode plugin for WordPress. Super-simple to use. MailChimp support built-in.
|
7 |
-
* Version: 1.
|
8 |
* Author: WebFactory
|
9 |
* Author URI: http://www.webfactoryltd.com
|
10 |
* License: GPLv3
|
@@ -39,7 +39,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
39 |
|
40 |
|
41 |
/* Constants we will be using throughout the plugin. */
|
42 |
-
define( 'SIGNALS_CSMM_URL', plugins_url(
|
43 |
define( 'SIGNALS_CSMM_PATH', plugin_dir_path( __FILE__ ) );
|
44 |
|
45 |
|
4 |
* Plugin Name: Minimal Coming Soon & Maintenance Mode
|
5 |
* Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
|
6 |
* Description: Simply awesome coming soon & maintenance mode plugin for WordPress. Super-simple to use. MailChimp support built-in.
|
7 |
+
* Version: 1.40
|
8 |
* Author: WebFactory
|
9 |
* Author URI: http://www.webfactoryltd.com
|
10 |
* License: GPLv3
|
39 |
|
40 |
|
41 |
/* Constants we will be using throughout the plugin. */
|
42 |
+
define( 'SIGNALS_CSMM_URL', plugins_url('', __FILE__ ) );
|
43 |
define( 'SIGNALS_CSMM_PATH', plugin_dir_path( __FILE__ ) );
|
44 |
|
45 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: WebFactory
|
|
3 |
Tags: coming soon, coming soon page, launch page, maintenance mode, mailchimp
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -74,6 +74,11 @@ Yes and no. When activated it enables itself across the entire WP-MU network.
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.35 =
|
78 |
* 2017-09-03
|
79 |
* minor improvements
|
3 |
Tags: coming soon, coming soon page, launch page, maintenance mode, mailchimp
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 1.40
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.40 =
|
78 |
+
* 2017-11-19
|
79 |
+
* 30k users - 21/09/2017
|
80 |
+
* minor fixes
|
81 |
+
|
82 |
= 1.35 =
|
83 |
* 2017-09-03
|
84 |
* minor improvements
|