Coming Soon Page & Maintenance Mode by SeedProd - Version 4.0.1

Version Description

  • Fixed a bug where website was not showing when logged in
Download this release

Release Info

Developer seedprod
Plugin Icon 128x128 Coming Soon Page & Maintenance Mode by SeedProd
Version 4.0.1
Comparing to
See all releases

Code changes from version 4.0.0 to 4.0.1

Files changed (3) hide show
  1. README.txt +8 -2
  2. coming-soon.php +2 -2
  3. inc/class-seed-csp4.php +4 -0
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: seedprod, johnnytee
3
  Donate link: http://www.seedprod.com
4
  Tags: wordpress coming soon, wordpress under construction, wordpress maintenance mode, maintenance mode, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, newsletter, coming soon page, landing page
5
  Requires at least: 3.5.1
6
- Tested up to: 3.8.0
7
- Stable tag: 4.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -105,10 +105,16 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
105
 
106
  == Changelog ==
107
 
 
 
 
108
  = 4.0.0 =
109
  * Initial Commit
110
 
111
  == Upgrade Notice ==
112
 
 
 
 
113
  = 4.0.0 =
114
  Initial Commit
3
  Donate link: http://www.seedprod.com
4
  Tags: wordpress coming soon, wordpress under construction, wordpress maintenance mode, maintenance mode, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, newsletter, coming soon page, landing page
5
  Requires at least: 3.5.1
6
+ Tested up to: 3.8.1
7
+ Stable tag: 4.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
105
 
106
  == Changelog ==
107
 
108
+ = 4.0.1 =
109
+ * Fixed a bug where website was not showing when logged in
110
+
111
  = 4.0.0 =
112
  * Initial Commit
113
 
114
  == Upgrade Notice ==
115
 
116
+ = 4.0.1 =
117
+ * Fixed a bug where website was not showing when logged in
118
+
119
  = 4.0.0 =
120
  Initial Commit
coming-soon.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Coming Soon
4
  * Plugin URI: http://www.seedprod.com
5
  * Description: Coming Soon, Maintenance Mode pages in minutes
6
- * Version: 4.0.0
7
  * Author: SeedProd
8
  * Author URI: http://www.seedprod.com
9
  * Text Domain: coming-soon
@@ -20,7 +20,7 @@ define( 'SEED_CSP4_SHORTNAME', 'seed_csp4' ); // Used to reference namespace fun
20
  define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
21
  define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
22
  define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
23
- define( 'SEED_CSP4_VERSION', '4.0.0'); // Plugin Version Number. Recommend you use Semantic Versioning http://semver.org/
24
  define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
25
  define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
26
  define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
3
  * Plugin Name: Coming Soon
4
  * Plugin URI: http://www.seedprod.com
5
  * Description: Coming Soon, Maintenance Mode pages in minutes
6
+ * Version: 4.0.1
7
  * Author: SeedProd
8
  * Author URI: http://www.seedprod.com
9
  * Text Domain: coming-soon
20
  define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
21
  define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
22
  define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
23
+ define( 'SEED_CSP4_VERSION', '4.0.1'); // Plugin Version Number. Recommend you use Semantic Versioning http://semver.org/
24
  define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
25
  define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
26
  define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
inc/class-seed-csp4.php CHANGED
@@ -171,6 +171,10 @@ class SEED_CSP4{
171
  return false;
172
  }
173
 
 
 
 
 
174
 
175
 
176
  // Finally check if we should show the coming soon page.
171
  return false;
172
  }
173
 
174
+ // Check if user is logged in.
175
+ if(is_user_logged_in()){
176
+ return false;
177
+ }
178
 
179
 
180
  // Finally check if we should show the coming soon page.