Site Offline Or Coming Soon Or Maintenance Mode - Version 1.5.3

Version Description

  • Redirect issue resolved
Download this release

Release Info

Developer chandrashekharsahu
Plugin Icon 128x128 Site Offline Or Coming Soon Or Maintenance Mode
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

Files changed (2) hide show
  1. readme.txt +4 -1
  2. site-offline.php +2 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.freehtmldesigns.com
4
  Tags: admin, coming soon, coming soon page, coming soon wp, coming soon wordPress plugin, under construction, countdown timer, email, gmail, landing page, launch, launch page, maintenance, maintenance mode, website under construction,website maintenance, newsletter, notify, offline, offline mode, offline, page, preview, site offline, site is offline, website offline, subscriber, ultimate coming soon page, ultimate landing page, unavailable, under construction, underconstruction, under construction page, wordpress coming soon, wordpress landing page, wordpress maintenance mode, wordpress maintenance mode plugin, wordpress under construction, wordpress under construction page, coming soon countdown
5
  Requires at least: 4.0
6
  Tested up to: 6.0.1
7
- Stable tag: 1.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -137,6 +137,9 @@ Please use WordPress support forum to ask any query regarding any issue.
137
 
138
  == Changelog ==
139
 
 
 
 
140
  = 1.4.9 =
141
  * Compatible with wordpress 5.8
142
  * added escaping
4
  Tags: admin, coming soon, coming soon page, coming soon wp, coming soon wordPress plugin, under construction, countdown timer, email, gmail, landing page, launch, launch page, maintenance, maintenance mode, website under construction,website maintenance, newsletter, notify, offline, offline mode, offline, page, preview, site offline, site is offline, website offline, subscriber, ultimate coming soon page, ultimate landing page, unavailable, under construction, underconstruction, under construction page, wordpress coming soon, wordpress landing page, wordpress maintenance mode, wordpress maintenance mode plugin, wordpress under construction, wordpress under construction page, coming soon countdown
5
  Requires at least: 4.0
6
  Tested up to: 6.0.1
7
+ Stable tag: 1.5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
137
 
138
  == Changelog ==
139
 
140
+ = 1.5.3 =
141
+ * Redirect issue resolved
142
+
143
  = 1.4.9 =
144
  * Compatible with wordpress 5.8
145
  * added escaping
site-offline.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Site Offline
4
- * Version: 1.5.2
5
  * Description: Site Offline plugin manage your WordPress website when it's under construction or maintenance mode or coming soon.
6
  * Author: Chandra Shekhar Sahu
7
  * Author URI: http://www.freehtmldesigns.com
@@ -54,6 +54,7 @@ function sahu_so_launch()
54
  {
55
  // Exit if any custom login page
56
  if(preg_match("/login|admin|dashboard|account/i",$_SERVER['REQUEST_URI']) > 0 ){
 
57
  return false;
58
  }
59
  // Check if user is logged in.
1
  <?php
2
  /**
3
  * Plugin Name: Site Offline
4
+ * Version: 1.5.3
5
  * Description: Site Offline plugin manage your WordPress website when it's under construction or maintenance mode or coming soon.
6
  * Author: Chandra Shekhar Sahu
7
  * Author URI: http://www.freehtmldesigns.com
54
  {
55
  // Exit if any custom login page
56
  if(preg_match("/login|admin|dashboard|account/i",$_SERVER['REQUEST_URI']) > 0 ){
57
+ wp_redirect( get_site_url() . '/wp-admin' );
58
  return false;
59
  }
60
  // Check if user is logged in.