Version Description
Download this release
Release Info
| Developer | themeisle |
| Plugin | |
| Version | 2.5.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.5.0 to 2.5.1
- CHANGELOG.md +4 -0
- README.md +8 -1
- includes/classes/wp-maintenance-mode.php +2 -2
- 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 +1 -1
CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 2 |
|
| 3 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
| 1 |
+
##### [Version 2.5.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.0...v2.5.1) (2022-09-08)
|
| 2 |
+
|
| 3 |
+
- Fixes a bug which was causing error on some instances
|
| 4 |
+
|
| 5 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 6 |
|
| 7 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 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.0
|
| 10 |
-
**Stable tag:** 2.5.
|
| 11 |
**Requires PHP:** 5.6
|
| 12 |
**License:** GPL-2.0+
|
| 13 |
|
|
@@ -91,6 +91,13 @@ Notice: `wp-cron.php` is excluded by default.
|
|
| 91 |
|
| 92 |
## Changelog ##
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 95 |
|
| 96 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
| 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.0
|
| 10 |
+
**Stable tag:** 2.5.1
|
| 11 |
**Requires PHP:** 5.6
|
| 12 |
**License:** GPL-2.0+
|
| 13 |
|
| 91 |
|
| 92 |
## Changelog ##
|
| 93 |
|
| 94 |
+
##### [Version 2.5.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.0...v2.5.1) (2022-09-08)
|
| 95 |
+
|
| 96 |
+
- Fixes a bug which was causing error on some instances
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 102 |
|
| 103 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
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.5.
|
| 12 |
|
| 13 |
protected $plugin_slug = 'wp-maintenance-mode';
|
| 14 |
protected $plugin_settings;
|
|
@@ -86,7 +86,7 @@ if ( ! class_exists( 'WP_Maintenance_Mode' ) ) {
|
|
| 86 |
}
|
| 87 |
|
| 88 |
if ( is_plugin_active( 'otter-blocks/otter-blocks.php' ) ) {
|
| 89 |
-
Block_Frontend
|
| 90 |
}
|
| 91 |
|
| 92 |
return $page_id;
|
| 8 |
|
| 9 |
class WP_Maintenance_Mode {
|
| 10 |
|
| 11 |
+
const VERSION = '2.5.1';
|
| 12 |
|
| 13 |
protected $plugin_slug = 'wp-maintenance-mode';
|
| 14 |
protected $plugin_settings;
|
| 86 |
}
|
| 87 |
|
| 88 |
if ( is_plugin_active( 'otter-blocks/otter-blocks.php' ) ) {
|
| 89 |
+
Block_Frontend::instance()->enqueue_google_fonts( $page_id );
|
| 90 |
}
|
| 91 |
|
| 92 |
return $page_id;
|
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.0
|
| 10 |
-
Stable tag: 2.5.
|
| 11 |
Requires PHP: 5.6
|
| 12 |
License: GPL-2.0+
|
| 13 |
|
|
@@ -91,6 +91,13 @@ Notice: `wp-cron.php` is excluded by default.
|
|
| 91 |
|
| 92 |
== Changelog ==
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 95 |
|
| 96 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
| 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.0
|
| 10 |
+
Stable tag: 2.5.1
|
| 11 |
Requires PHP: 5.6
|
| 12 |
License: GPL-2.0+
|
| 13 |
|
| 91 |
|
| 92 |
== Changelog ==
|
| 93 |
|
| 94 |
+
##### [Version 2.5.1](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.5.0...v2.5.1) (2022-09-08)
|
| 95 |
+
|
| 96 |
+
- Fixes a bug which was causing error on some instances
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
#### [Version 2.5.0](https://github.com/Codeinwp/wp-maintenance-mode/compare/v2.4.7...v2.5.0) (2022-09-08)
|
| 102 |
|
| 103 |
- New Feature: Adds compatibility with Block Editor or any page builder for building the maintenance mode page.
|
vendor/autoload.php
CHANGED
|
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
| 9 |
|
| 10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 11 |
|
| 12 |
-
return
|
| 9 |
|
| 10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 11 |
|
| 12 |
+
return ComposerAutoloaderInit73dcac62702aa48b2e533439663a28aa::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 ComposerAutoloaderInitc3b45c029325a3ed8b91591aad87cb1c
|
|
| 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 ComposerAutoloaderInitc3b45c029325a3ed8b91591aad87cb1c
|
|
| 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 ComposerAutoloaderInit73dcac62702aa48b2e533439663a28aa
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 22 |
return self::$loader;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
spl_autoload_register(array('ComposerAutoloaderInit73dcac62702aa48b2e533439663a28aa', 'loadClassLoader'), true, true);
|
| 26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit73dcac62702aa48b2e533439663a28aa', 'loadClassLoader'));
|
| 28 |
|
| 29 |
require __DIR__ . '/autoload_static.php';
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit73dcac62702aa48b2e533439663a28aa::getInitializer($loader));
|
| 31 |
|
| 32 |
$loader->register(true);
|
| 33 |
|
| 34 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit73dcac62702aa48b2e533439663a28aa::$files;
|
| 35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 36 |
+
composerRequire73dcac62702aa48b2e533439663a28aa($fileIdentifier, $file);
|
| 37 |
}
|
| 38 |
|
| 39 |
return $loader;
|
| 45 |
* @param string $file
|
| 46 |
* @return void
|
| 47 |
*/
|
| 48 |
+
function composerRequire73dcac62702aa48b2e533439663a28aa($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 ComposerStaticInitc3b45c029325a3ed8b91591aad87cb1c
|
|
| 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 ComposerStaticInit73dcac62702aa48b2e533439663a28aa
|
| 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 = ComposerStaticInit73dcac62702aa48b2e533439663a28aa::$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.5.
|
| 5 |
-
'version' => '2.5.
|
| 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.5.
|
| 24 |
-
'version' => '2.5.
|
| 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.5.1',
|
| 5 |
+
'version' => '2.5.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.5.1',
|
| 24 |
+
'version' => '2.5.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: WP Maintenance Mode & Coming Soon
|
| 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 page.
|
| 7 |
-
* Version: 2.5.
|
| 8 |
* Author: Themeisle
|
| 9 |
* Author URI: https://themeisle.com/
|
| 10 |
* Twitter: themeisle
|
| 4 |
*
|
| 5 |
* Plugin Name: WP Maintenance Mode & Coming Soon
|
| 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 page.
|
| 7 |
+
* Version: 2.5.1
|
| 8 |
* Author: Themeisle
|
| 9 |
* Author URI: https://themeisle.com/
|
| 10 |
* Twitter: themeisle
|
