Version Description
- Reverted - Preview link and added flush permalink
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 6.0.8.2 |
Comparing to | |
See all releases |
Code changes from version 6.0.8.1 to 6.0.8.2
- README.txt +8 -2
- coming-soon.php +2 -2
- resources/views/dashboard.php +12 -6
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: maintenance mode, coming soon page, coming soon, under construction, landi
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 6.0.8.
|
9 |
Text Domain: coming-soon
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -102,7 +102,7 @@ Create a Coming Soon Page, Maintenance Mode Page, Landing Pages and Custom 404 p
|
|
102 |
|
103 |
|
104 |
== Frequently Asked Questions ==
|
105 |
-
= What kind of
|
106 |
You can create a variety of landing pages including but not limited to:
|
107 |
* Sales Pages
|
108 |
* Opt-In Pages
|
@@ -141,6 +141,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
141 |
|
142 |
|
143 |
== Changelog ==
|
|
|
|
|
|
|
144 |
= 6.0.8.1 =
|
145 |
* Tweak - Added preview_nonce to preview link
|
146 |
|
@@ -290,6 +293,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
290 |
* Initial Commit
|
291 |
|
292 |
== Upgrade Notice ==
|
|
|
|
|
|
|
293 |
= 6.0.8.1 =
|
294 |
* Tweak - Added preview_nonce to preview link
|
295 |
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 6.0.8.2
|
9 |
Text Domain: coming-soon
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
102 |
|
103 |
|
104 |
== Frequently Asked Questions ==
|
105 |
+
= What kind of landing pages can I create? =
|
106 |
You can create a variety of landing pages including but not limited to:
|
107 |
* Sales Pages
|
108 |
* Opt-In Pages
|
141 |
|
142 |
|
143 |
== Changelog ==
|
144 |
+
= 6.0.8.2 =
|
145 |
+
* Reverted - Preview link and added flush permalink
|
146 |
+
|
147 |
= 6.0.8.1 =
|
148 |
* Tweak - Added preview_nonce to preview link
|
149 |
|
293 |
* Initial Commit
|
294 |
|
295 |
== Upgrade Notice ==
|
296 |
+
= 6.0.8.2 =
|
297 |
+
* Reverted - Preview link and added flush permalink
|
298 |
+
|
299 |
= 6.0.8.1 =
|
300 |
* Tweak - Added preview_nonce to preview link
|
301 |
|
coming-soon.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd
|
4 |
Plugin URI: https://www.seedprod.com
|
5 |
Description: The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
6 |
-
Version: 6.0.8.
|
7 |
Author: SeedProd
|
8 |
Author URI: https://www.seedprod.com
|
9 |
TextDomain: coming-soon
|
@@ -16,7 +16,7 @@ License: GPLv2 or later
|
|
16 |
*/
|
17 |
define('SEEDPROD_BUILD', 'lite');
|
18 |
define('SEEDPROD_SLUG', 'coming-soon/coming-soon.php');
|
19 |
-
define('SEEDPROD_VERSION', '6.0.8.
|
20 |
define('SEEDPROD_PLUGIN_PATH', plugin_dir_path(__FILE__));
|
21 |
// Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seedprod/
|
22 |
define('SEEDPROD_PLUGIN_URL', plugin_dir_url(__FILE__));
|
3 |
Plugin Name: Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd
|
4 |
Plugin URI: https://www.seedprod.com
|
5 |
Description: The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
6 |
+
Version: 6.0.8.2
|
7 |
Author: SeedProd
|
8 |
Author URI: https://www.seedprod.com
|
9 |
TextDomain: coming-soon
|
16 |
*/
|
17 |
define('SEEDPROD_BUILD', 'lite');
|
18 |
define('SEEDPROD_SLUG', 'coming-soon/coming-soon.php');
|
19 |
+
define('SEEDPROD_VERSION', '6.0.8.2');
|
20 |
define('SEEDPROD_PLUGIN_PATH', plugin_dir_path(__FILE__));
|
21 |
// Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seedprod/
|
22 |
define('SEEDPROD_PLUGIN_URL', plugin_dir_url(__FILE__));
|
resources/views/dashboard.php
CHANGED
@@ -84,22 +84,28 @@ $seedprod_csp4_imported = get_option('seedprod_csp4_imported');
|
|
84 |
$seedprod_cspv5_migrated = get_option('seedprod_cspv5_migrated');
|
85 |
$seedprod_cspv5_imported = get_option('seedprod_cspv5_imported');
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
$csp_preview_url = '';
|
88 |
if(!empty($csp_id)){
|
89 |
-
|
90 |
-
|
91 |
//$csp_preview_url = home_url(). '/?post_type=seedprod&p='.$csp_id.'&preview=true';
|
92 |
}
|
93 |
$mmp_preview_url = '';
|
94 |
if(!empty($mmp_id)){
|
95 |
-
|
96 |
-
|
97 |
//$mmp_preview_url= home_url(). '/?post_type=seedprod&p='.$mmp_id.'&preview=true';
|
98 |
}
|
99 |
$p404_preview_url = '';
|
100 |
if(!empty($p404_id)){
|
101 |
-
|
102 |
-
|
103 |
//$p404_preview_url= home_url(). '/?post_type=seedprod&p='.$p404_id.'&preview=true';
|
104 |
}
|
105 |
|
84 |
$seedprod_cspv5_migrated = get_option('seedprod_cspv5_migrated');
|
85 |
$seedprod_cspv5_imported = get_option('seedprod_cspv5_imported');
|
86 |
|
87 |
+
// one time flush permalinks
|
88 |
+
if(empty(get_option('seedprod_onetime_flush_rewrite'))){
|
89 |
+
flush_rewrite_rules();
|
90 |
+
update_option('seedprod_onetime_flush_rewrite',true);
|
91 |
+
}
|
92 |
+
|
93 |
$csp_preview_url = '';
|
94 |
if(!empty($csp_id)){
|
95 |
+
$csp_preview_url = get_preview_post_link( $csp_id );
|
96 |
+
//$csp_preview_url = home_url(). "/?post_type=seedprod&page_id=".$csp_id."&preview_nonce=".wp_create_nonce('post_preview_' . $csp_id);
|
97 |
//$csp_preview_url = home_url(). '/?post_type=seedprod&p='.$csp_id.'&preview=true';
|
98 |
}
|
99 |
$mmp_preview_url = '';
|
100 |
if(!empty($mmp_id)){
|
101 |
+
$mmp_preview_url = get_preview_post_link( $mmp_id );
|
102 |
+
//$mmp_preview_url = home_url(). "/?post_type=seedprod&page_id=".$mmp_id."&preview_nonce=".wp_create_nonce('post_preview_' . $mmp_id);
|
103 |
//$mmp_preview_url= home_url(). '/?post_type=seedprod&p='.$mmp_id.'&preview=true';
|
104 |
}
|
105 |
$p404_preview_url = '';
|
106 |
if(!empty($p404_id)){
|
107 |
+
$p404_preview_url = get_preview_post_link( $p404_id );
|
108 |
+
//$p404_preview_url = home_url(). "/?post_type=seedprod&page_id=".$p404_id."&preview_nonce=".wp_create_nonce('post_preview_' . $p404_id);
|
109 |
//$p404_preview_url= home_url(). '/?post_type=seedprod&p='.$p404_id.'&preview=true';
|
110 |
}
|
111 |
|