WP Construction Mode - Version 3.22

Version Description

  • minor bug fix affecting a few users
Download this release

Release Info

Developer smartcat
Plugin Icon 128x128 WP Construction Mode
Version 3.22
Comparing to
See all releases

Code changes from version 3.21 to 3.22

inc/class/class.smartcat-construction.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class SmartcatConstructionPlugin {
8
 
9
- const VERSION = '3.21';
10
 
11
  private static $instance;
12
  private $options;
@@ -44,7 +44,7 @@ class SmartcatConstructionPlugin {
44
  'flickr' => '',
45
  'skype' => '',
46
  'tumblr' => '',
47
- 'youtube' => 'http://smartcatdesign.net',
48
  'analytics' => '',
49
  );
50
 
@@ -54,9 +54,9 @@ class SmartcatConstructionPlugin {
54
  update_option( 'smartcat_construction_options', $options );
55
  }else {
56
 
57
- $val = get_option('smartcat_construction_options')['analytics'];
58
 
59
- if( !isset( $val ) ) :
60
 
61
  $options['analytics'] = '';
62
  update_option( 'smartcat_construction_options', $options );
6
  */
7
  class SmartcatConstructionPlugin {
8
 
9
+ const VERSION = '3.22';
10
 
11
  private static $instance;
12
  private $options;
44
  'flickr' => '',
45
  'skype' => '',
46
  'tumblr' => '',
47
+ 'youtube' => '',
48
  'analytics' => '',
49
  );
50
 
54
  update_option( 'smartcat_construction_options', $options );
55
  }else {
56
 
57
+ $val = get_option('smartcat_construction_options')['analytics'] ? get_option('smartcat_construction_options')['analytics'] : '';
58
 
59
+ if( $val == '' ) :
60
 
61
  $options['analytics'] = '';
62
  update_option( 'smartcat_construction_options', $options );
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Construction Mode ===
2
  Contributors: smartcat
3
- Donate link: https://smartcatdesign.net/donate
4
  Tags: construction,maintenance,landing,page,admin,under construction,under maintenance,coming soon,administrator,custom message,analytics, client portal, login, password, secure, client, social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube, mailchimp,newsletter,shortcode,contact,form,constant contact
5
- Requires at least: 3.2
6
  Tested up to: 4.3.1
7
- Stable tag: 3.20
8
  License: GPLv2 or later
9
 
10
  Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing on a live server!
@@ -68,6 +68,9 @@ Pro Version Add-ons:
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 3.2 =
72
  * Added Google Analytics support
73
  * Added a contact form to the pro version
1
  === WP Construction Mode ===
2
  Contributors: smartcat
3
+ Donate link: http://smartcatdesign.net/donate
4
  Tags: construction,maintenance,landing,page,admin,under construction,under maintenance,coming soon,administrator,custom message,analytics, client portal, login, password, secure, client, social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube, mailchimp,newsletter,shortcode,contact,form,constant contact
5
+ Requires at least: 3.21
6
  Tested up to: 4.3.1
7
+ Stable tag: 3.21
8
  License: GPLv2 or later
9
 
10
  Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing on a live server!
68
 
69
  == Changelog ==
70
 
71
+ = 3.22 =
72
+ * minor bug fix affecting a few users
73
+
74
  = 3.2 =
75
  * Added Google Analytics support
76
  * Added a contact form to the pro version
under-construction.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/downloads/construction-mode-v2-pro/
5
  Description: Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing a new site!
6
- Version: 3.21
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/downloads/construction-mode-v2-pro/
5
  Description: Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing a new site!
6
+ Version: 3.22
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2