Coming Soon Page & Maintenance Mode by SeedProd - Version 5.0.18

Version Description

  • fixed ios issue and no cache header issue
Download this release

Release Info

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

Code changes from version 5.0.17 to 5.0.18

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: seedprod
3
  Donate link: http://www.seedprod.com
4
  Tags: maintenance mode, coming soon page, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, under construction page, landing page
5
  Requires at least: 3.5.1
6
- Tested up to: 4.9.1
7
- Stable tag: 5.0.17
8
  Text Domain: coming-soon
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -116,6 +116,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
116
  4. Design Page
117
 
118
  == Changelog ==
 
 
 
119
  = 5.0.17 =
120
  * Changed credit image
121
 
@@ -203,6 +206,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
203
  * Initial Commit
204
 
205
  == Upgrade Notice ==
 
 
 
206
  = 5.0.17 =
207
  * Changed credit image
208
 
3
  Donate link: http://www.seedprod.com
4
  Tags: maintenance mode, coming soon page, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, under construction page, landing page
5
  Requires at least: 3.5.1
6
+ Tested up to: 4.9.4
7
+ Stable tag: 5.0.18
8
  Text Domain: coming-soon
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
116
  4. Design Page
117
 
118
  == Changelog ==
119
+ = 5.0.18 =
120
+ * fixed ios issue and no cache header issue
121
+
122
  = 5.0.17 =
123
  * Changed credit image
124
 
206
  * Initial Commit
207
 
208
  == Upgrade Notice ==
209
+ = 5.0.18 =
210
+ * fixed ios issue and no cache header issue
211
+
212
  = 5.0.17 =
213
  * Changed credit image
214
 
coming-soon.php CHANGED
@@ -3,7 +3,7 @@
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: 5.0.17
7
  * Author: SeedProd
8
  * Author URI: http://www.seedprod.com
9
  * Text Domain: coming-soon
@@ -21,7 +21,7 @@ define( 'SEED_CSP4_SHORTNAME', 'seed_csp4' ); // Used to reference namespace fun
21
  define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
22
  define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
23
  define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon Page & Maintenance Mode by SeedProd', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
24
- define( 'SEED_CSP4_VERSION', '5.0.17'); // Plugin Version Number. Recommend you use Semantic Versioning http://semver.org/
25
  define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
26
  define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
27
  define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
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: 5.0.18
7
  * Author: SeedProd
8
  * Author URI: http://www.seedprod.com
9
  * Text Domain: coming-soon
21
  define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
22
  define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
23
  define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon Page & Maintenance Mode by SeedProd', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
24
+ define( 'SEED_CSP4_VERSION', '5.0.18'); // Plugin Version Number. Recommend you use Semantic Versioning http://semver.org/
25
  define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
26
  define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
27
  define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
inc/class-seed-csp4.php CHANGED
@@ -214,7 +214,7 @@ class SEED_CSP4{
214
  if(!defined('DONOTCACHEOBJECT')) {
215
  define('DONOTCACHEOBJECT', true);
216
  }
217
- header('Cache-Control: max-age=0; private');
218
 
219
 
220
  // render template tags
214
  if(!defined('DONOTCACHEOBJECT')) {
215
  define('DONOTCACHEOBJECT', true);
216
  }
217
+ nocache_headers();
218
 
219
 
220
  // render template tags
themes/default/functions.php CHANGED
@@ -173,7 +173,25 @@ function seed_csp4_head() {
173
  }
174
 
175
 
176
- <?php }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
 
178
  $output .= ob_get_clean();
179
 
173
  }
174
 
175
 
176
+ <?php } ?>
177
+
178
+
179
+ <?php if ( !empty( $bg_image ) ): ;?>
180
+ <?php if ( isset( $bg_cover ) && in_array( '1', $bg_cover ) ) : ?>
181
+ html {
182
+ height: 100%;
183
+ overflow: hidden;
184
+ }
185
+ body
186
+ {
187
+ height:100%;
188
+ overflow: auto;
189
+ -webkit-overflow-scrolling: touch;
190
+ }
191
+ <?php endif; ?>
192
+ <?php endif; ?>
193
+
194
+ <?php
195
 
196
  $output .= ob_get_clean();
197