Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | WP Maintenance Mode |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0 to 2.6.1
- CHANGELOG.md +4 -0
- README.md +16 -8
- includes/classes/wp-maintenance-mode-admin.php +8 -0
- includes/classes/wp-maintenance-mode.php +1 -1
- readme.txt +8 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +2 -2
- vendor/composer/installed.php +4 -4
- wp-maintenance-mode.php +2 -1
CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
2 |
|
3 |
* Adds Landing pages templates
|
1 |
+
##### [Version 2.6.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.6.0...v2.6.1) (2022-11-03)
|
2 |
+
|
3 |
+
* Add a notice to announce the rebrand of the plugin
|
4 |
+
|
5 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
6 |
|
7 |
* Adds Landing pages templates
|
README.md
CHANGED
@@ -6,16 +6,16 @@
|
|
6 |
**Author URI:** https://themeisle.com/
|
7 |
**Tags:** maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
8 |
**Requires at least:** 3.5
|
9 |
-
**Tested up to:** 6.
|
10 |
-
**Stable tag:** 2.6.
|
11 |
**Requires PHP:** 5.6
|
12 |
**License:** GPL-2.0+
|
13 |
|
14 |
-
|
15 |
|
16 |
## Description ##
|
17 |
|
18 |
-
Add a maintenance page to your blog that lets visitors know your blog is down for maintenance,
|
19 |
|
20 |
Activate the plugin and your blog is in maintenance-mode, works and only registered users with enough rights can see the front end. You can use a date with a countdown timer for visitor information or set a value and unit for information.
|
21 |
|
@@ -23,10 +23,10 @@ Also works with WordPress Multisite installs (each blog from the network has its
|
|
23 |
|
24 |
### Features ###
|
25 |
|
26 |
-
* Fully customizable (change colors, texts and backgrounds)
|
27 |
-
* Subscription form (export emails to .csv file)
|
28 |
-
* Countdown timer (remaining time)
|
29 |
-
* Contact form (receive emails from visitors)
|
30 |
* Coming soon page;
|
31 |
* Landing page templates;
|
32 |
* WordPress multisite;
|
@@ -51,6 +51,7 @@ Developed by [Themeisle](https://themeisle.com)
|
|
51 |
If you like this plugin, then consider checking out our other projects:
|
52 |
|
53 |
* <a href="https://optimole.com/">Optimole</a> - Optimole is your all-in-one image optimization solution for WordPress & beyond.
|
|
|
54 |
* <a href="https://revive.social/">Revive Social</a> - Revive Old Posts helps you keep your content alive and in front the audiences that matter.
|
55 |
* <a href="https://www.codeinwp.com/">CodeinWP</a> - CodeinWP stands for all-things-WordPress. From web design to freelancing and from development to business, your questions are covered.
|
56 |
* <a href="https://domainwheel.com">DomainWheel</a> - Free Short Website name generator, with the help of AI, for instant ideas.
|
@@ -91,6 +92,13 @@ Notice: `wp-cron.php` is excluded by default.
|
|
91 |
|
92 |
## Changelog ##
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
95 |
|
96 |
* Adds Landing pages templates
|
6 |
**Author URI:** https://themeisle.com/
|
7 |
**Tags:** maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
8 |
**Requires at least:** 3.5
|
9 |
+
**Tested up to:** 6.1
|
10 |
+
**Stable tag:** 2.6.1
|
11 |
**Requires PHP:** 5.6
|
12 |
**License:** GPL-2.0+
|
13 |
|
14 |
+
Easy Drag & Drop Page Builder that adds a splash page to your site that it's perfect for a coming soon page, maintenance or landing page.
|
15 |
|
16 |
## Description ##
|
17 |
|
18 |
+
Add a maintenance page to your blog that lets visitors know your blog is down for maintenance, add a coming soon page for a new website or create a landing page for an existing site. User with admin rights gets full access to the blog including the front end.
|
19 |
|
20 |
Activate the plugin and your blog is in maintenance-mode, works and only registered users with enough rights can see the front end. You can use a date with a countdown timer for visitor information or set a value and unit for information.
|
21 |
|
23 |
|
24 |
### Features ###
|
25 |
|
26 |
+
* Fully customizable (change colors, texts and backgrounds).
|
27 |
+
* Subscription form (export emails to .csv file).
|
28 |
+
* Countdown timer (remaining time).
|
29 |
+
* Contact form (receive emails from visitors).
|
30 |
* Coming soon page;
|
31 |
* Landing page templates;
|
32 |
* WordPress multisite;
|
51 |
If you like this plugin, then consider checking out our other projects:
|
52 |
|
53 |
* <a href="https://optimole.com/">Optimole</a> - Optimole is your all-in-one image optimization solution for WordPress & beyond.
|
54 |
+
* <a href="https://wpshout.com/">WPShout</a> - In-Depth WordPress Tutorials for Developers
|
55 |
* <a href="https://revive.social/">Revive Social</a> - Revive Old Posts helps you keep your content alive and in front the audiences that matter.
|
56 |
* <a href="https://www.codeinwp.com/">CodeinWP</a> - CodeinWP stands for all-things-WordPress. From web design to freelancing and from development to business, your questions are covered.
|
57 |
* <a href="https://domainwheel.com">DomainWheel</a> - Free Short Website name generator, with the help of AI, for instant ideas.
|
92 |
|
93 |
## Changelog ##
|
94 |
|
95 |
+
##### [Version 2.6.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.6.0...v2.6.1) (2022-11-03)
|
96 |
+
|
97 |
+
* Add a notice to announce the rebrand of the plugin
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
103 |
|
104 |
* Adds Landing pages templates
|
includes/classes/wp-maintenance-mode-admin.php
CHANGED
@@ -902,6 +902,14 @@ if ( ! class_exists( 'WP_Maintenance_Mode_Admin' ) ) {
|
|
902 |
$screen = get_current_screen();
|
903 |
$notices = array();
|
904 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
905 |
if ( $this->plugin_screen_hook_suffix !== $screen->id ) {
|
906 |
// notice if plugin is activated
|
907 |
if (
|
902 |
$screen = get_current_screen();
|
903 |
$notices = array();
|
904 |
|
905 |
+
// show this notice if user had the plugin installed on the moment of rebranding
|
906 |
+
if ( ThemeisleSDK\Product::get( WPMM_FILE )->get_install_time() < strtotime( '2022-11-02' ) ) {
|
907 |
+
$notices['rebrand'] = array(
|
908 |
+
'class' => 'notice wpmm_notices notice-success is-dismissible',
|
909 |
+
'msg' => __( 'WP Maintenance Mode is now LightStart. Enjoy the same features, more templates and new landing pages building compatibility.', 'wp-maintenance-mode' ),
|
910 |
+
);
|
911 |
+
}
|
912 |
+
|
913 |
if ( $this->plugin_screen_hook_suffix !== $screen->id ) {
|
914 |
// notice if plugin is activated
|
915 |
if (
|
includes/classes/wp-maintenance-mode.php
CHANGED
@@ -8,7 +8,7 @@ if ( ! class_exists( 'WP_Maintenance_Mode' ) ) {
|
|
8 |
|
9 |
class WP_Maintenance_Mode {
|
10 |
|
11 |
-
const VERSION = '2.6.
|
12 |
|
13 |
const MAINTENANCE = 'maintenance';
|
14 |
const COMING_SOON = 'coming-soon';
|
8 |
|
9 |
class WP_Maintenance_Mode {
|
10 |
|
11 |
+
const VERSION = '2.6.1';
|
12 |
|
13 |
const MAINTENANCE = 'maintenance';
|
14 |
const COMING_SOON = 'coming-soon';
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Author URI: https://themeisle.com/
|
|
7 |
Tags: maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
8 |
Requires at least: 3.5
|
9 |
Tested up to: 6.1
|
10 |
-
Stable tag: 2.6.
|
11 |
Requires PHP: 5.6
|
12 |
License: GPL-2.0+
|
13 |
|
@@ -92,6 +92,13 @@ Notice: `wp-cron.php` is excluded by default.
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
96 |
|
97 |
* Adds Landing pages templates
|
7 |
Tags: maintenance mode, admin, administration, unavailable, coming soon, multisite, landing page, under construction, contact form, subscribe, countdown
|
8 |
Requires at least: 3.5
|
9 |
Tested up to: 6.1
|
10 |
+
Stable tag: 2.6.1
|
11 |
Requires PHP: 5.6
|
12 |
License: GPL-2.0+
|
13 |
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
+
##### [Version 2.6.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.6.0...v2.6.1) (2022-11-03)
|
96 |
+
|
97 |
+
* Add a notice to announce the rebrand of the plugin
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
#### [Version 2.6.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.4...v2.6.0) (2022-11-02)
|
103 |
|
104 |
* Adds Landing pages templates
|
vendor/autoload.php
CHANGED
@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
22 |
|
23 |
require_once __DIR__ . '/composer/autoload_real.php';
|
24 |
|
25 |
-
return
|
22 |
|
23 |
require_once __DIR__ . '/composer/autoload_real.php';
|
24 |
|
25 |
+
return ComposerAutoloaderInitf3e4a6b8ef9efe52eca1ea5e5e65def9::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,18 +22,18 @@ class ComposerAutoloaderInit2c8ee0bbac6f24eeaa0f40aa2fdb2c01
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
require __DIR__ . '/autoload_static.php';
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
|
32 |
$loader->register(true);
|
33 |
|
34 |
-
$includeFiles = \Composer\Autoload\
|
35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
36 |
-
|
37 |
}
|
38 |
|
39 |
return $loader;
|
@@ -45,7 +45,7 @@ class ComposerAutoloaderInit2c8ee0bbac6f24eeaa0f40aa2fdb2c01
|
|
45 |
* @param string $file
|
46 |
* @return void
|
47 |
*/
|
48 |
-
function
|
49 |
{
|
50 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
51 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitf3e4a6b8ef9efe52eca1ea5e5e65def9
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitf3e4a6b8ef9efe52eca1ea5e5e65def9', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitf3e4a6b8ef9efe52eca1ea5e5e65def9', 'loadClassLoader'));
|
28 |
|
29 |
require __DIR__ . '/autoload_static.php';
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitf3e4a6b8ef9efe52eca1ea5e5e65def9::getInitializer($loader));
|
31 |
|
32 |
$loader->register(true);
|
33 |
|
34 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInitf3e4a6b8ef9efe52eca1ea5e5e65def9::$files;
|
35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
36 |
+
composerRequiref3e4a6b8ef9efe52eca1ea5e5e65def9($fileIdentifier, $file);
|
37 |
}
|
38 |
|
39 |
return $loader;
|
45 |
* @param string $file
|
46 |
* @return void
|
47 |
*/
|
48 |
+
function composerRequiref3e4a6b8ef9efe52eca1ea5e5e65def9($fileIdentifier, $file)
|
49 |
{
|
50 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
51 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'7c3f92ec501ce72fe4f09265dc506991' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
|
@@ -17,7 +17,7 @@ class ComposerStaticInit2c8ee0bbac6f24eeaa0f40aa2fdb2c01
|
|
17 |
public static function getInitializer(ClassLoader $loader)
|
18 |
{
|
19 |
return \Closure::bind(function () use ($loader) {
|
20 |
-
$loader->classMap =
|
21 |
|
22 |
}, null, ClassLoader::class);
|
23 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitf3e4a6b8ef9efe52eca1ea5e5e65def9
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'7c3f92ec501ce72fe4f09265dc506991' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
|
17 |
public static function getInitializer(ClassLoader $loader)
|
18 |
{
|
19 |
return \Closure::bind(function () use ($loader) {
|
20 |
+
$loader->classMap = ComposerStaticInitf3e4a6b8ef9efe52eca1ea5e5e65def9::$classMap;
|
21 |
|
22 |
}, null, ClassLoader::class);
|
23 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'codeinwp/wp-maintenance-mode',
|
4 |
-
'pretty_version' => '2.6.
|
5 |
-
'version' => '2.6.
|
6 |
'reference' => NULL,
|
7 |
'type' => 'wordpress-plugin',
|
8 |
'install_path' => __DIR__ . '/../../',
|
@@ -20,8 +20,8 @@
|
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'codeinwp/wp-maintenance-mode' => array(
|
23 |
-
'pretty_version' => '2.6.
|
24 |
-
'version' => '2.6.
|
25 |
'reference' => NULL,
|
26 |
'type' => 'wordpress-plugin',
|
27 |
'install_path' => __DIR__ . '/../../',
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'codeinwp/wp-maintenance-mode',
|
4 |
+
'pretty_version' => '2.6.1',
|
5 |
+
'version' => '2.6.1.0',
|
6 |
'reference' => NULL,
|
7 |
'type' => 'wordpress-plugin',
|
8 |
'install_path' => __DIR__ . '/../../',
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'codeinwp/wp-maintenance-mode' => array(
|
23 |
+
'pretty_version' => '2.6.1',
|
24 |
+
'version' => '2.6.1.0',
|
25 |
'reference' => NULL,
|
26 |
'type' => 'wordpress-plugin',
|
27 |
'install_path' => __DIR__ . '/../../',
|
wp-maintenance-mode.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Plugin Name: LightStart - Maintenance Mode, Coming Soon and Landing Page Builder
|
6 |
* Description: Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon or landing page.
|
7 |
-
* Version: 2.6.
|
8 |
* Author: Themeisle
|
9 |
* Author URI: https://themeisle.com/
|
10 |
* Twitter: themeisle
|
@@ -23,6 +23,7 @@ defined( 'ABSPATH' ) || exit;
|
|
23 |
* DEFINE PATHS
|
24 |
*/
|
25 |
define( 'WPMM_PATH', plugin_dir_path( __FILE__ ) );
|
|
|
26 |
define( 'WPMM_CLASSES_PATH', WPMM_PATH . 'includes/classes/' );
|
27 |
define( 'WPMM_FUNCTIONS_PATH', WPMM_PATH . 'includes/functions/' );
|
28 |
define( 'WPMM_LANGUAGES_PATH', basename( WPMM_PATH ) . '/languages/' );
|
4 |
*
|
5 |
* Plugin Name: LightStart - Maintenance Mode, Coming Soon and Landing Page Builder
|
6 |
* Description: Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon or landing page.
|
7 |
+
* Version: 2.6.1
|
8 |
* Author: Themeisle
|
9 |
* Author URI: https://themeisle.com/
|
10 |
* Twitter: themeisle
|
23 |
* DEFINE PATHS
|
24 |
*/
|
25 |
define( 'WPMM_PATH', plugin_dir_path( __FILE__ ) );
|
26 |
+
define( 'WPMM_FILE', __FILE__ );
|
27 |
define( 'WPMM_CLASSES_PATH', WPMM_PATH . 'includes/classes/' );
|
28 |
define( 'WPMM_FUNCTIONS_PATH', WPMM_PATH . 'includes/functions/' );
|
29 |
define( 'WPMM_LANGUAGES_PATH', basename( WPMM_PATH ) . '/languages/' );
|