Version Description
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- README.txt +10 -4
- coming-soon.php +4 -4
- inc/class-seed-csp4.php +4 -2
README.txt
CHANGED
@@ -3,19 +3,19 @@ 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:
|
7 |
-
Stable tag: 4.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Coming Soon
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
Create simple Coming Soon and Maintenance Mode pages. Work on your site while visitors see a "Coming Soon" or "Maintenance Mode" page.
|
16 |
|
17 |
### Benefits, Features and Options:
|
18 |
-
|
19 |
* Works with any WordPress Theme
|
20 |
* Responsive
|
21 |
* Customize the Look and Feel
|
@@ -104,6 +104,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
104 |
|
105 |
|
106 |
== Changelog ==
|
|
|
|
|
|
|
107 |
= 4.0.2=
|
108 |
* Add link to free backgrounds
|
109 |
|
@@ -114,6 +117,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
114 |
* Initial Commit
|
115 |
|
116 |
== Upgrade Notice ==
|
|
|
|
|
|
|
117 |
= 4.0.2=
|
118 |
* Add link to free backgrounds
|
119 |
|
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: 4.0.0
|
7 |
+
Stable tag: 4.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
Create simple Coming Soon and Maintenance Mode pages. Work on your site while visitors see a "Coming Soon" or "Maintenance Mode" page.
|
16 |
|
17 |
### Benefits, Features and Options:
|
18 |
+
|
19 |
* Works with any WordPress Theme
|
20 |
* Responsive
|
21 |
* Customize the Look and Feel
|
104 |
|
105 |
|
106 |
== Changelog ==
|
107 |
+
= 4.0.3=
|
108 |
+
* Fixed preview link
|
109 |
+
|
110 |
= 4.0.2=
|
111 |
* Add link to free backgrounds
|
112 |
|
117 |
* Initial Commit
|
118 |
|
119 |
== Upgrade Notice ==
|
120 |
+
= 4.0.3=
|
121 |
+
* Fixed preview link
|
122 |
+
|
123 |
= 4.0.2=
|
124 |
* Add link to free backgrounds
|
125 |
|
coming-soon.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
* Plugin Name: Coming Soon
|
4 |
* Plugin URI: http://www.seedprod.com
|
5 |
-
* Description: Coming Soon, Maintenance Mode
|
6 |
-
* Version: 4.0.
|
7 |
* Author: SeedProd
|
8 |
* Author URI: http://www.seedprod.com
|
9 |
* Text Domain: coming-soon
|
@@ -70,4 +70,4 @@ if( is_admin() ) {
|
|
70 |
} else {
|
71 |
// Public only
|
72 |
|
73 |
-
}
|
1 |
<?php
|
2 |
/*
|
3 |
+
* Plugin Name: Coming Soon Page & Maintenance Mode by SeedProd
|
4 |
* Plugin URI: http://www.seedprod.com
|
5 |
+
* Description: The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
6 |
+
* Version: 4.0.3
|
7 |
* Author: SeedProd
|
8 |
* Author URI: http://www.seedprod.com
|
9 |
* Text Domain: coming-soon
|
70 |
} else {
|
71 |
// Public only
|
72 |
|
73 |
+
}
|
inc/class-seed-csp4.php
CHANGED
@@ -172,8 +172,10 @@ class SEED_CSP4{
|
|
172 |
}
|
173 |
|
174 |
// Check if user is logged in.
|
175 |
-
if(
|
176 |
-
|
|
|
|
|
177 |
}
|
178 |
|
179 |
|
172 |
}
|
173 |
|
174 |
// Check if user is logged in.
|
175 |
+
if($is_preview === false){
|
176 |
+
if(is_user_logged_in()){
|
177 |
+
return false;
|
178 |
+
}
|
179 |
}
|
180 |
|
181 |
|