Lightning Advanced Unit - Version 1.3.6

Version Description

  • [ Specification change ] Work on Lightning only.
Download this release

Release Info

Developer kurudrive
Plugin Icon wp plugin Lightning Advanced Unit
Version 1.3.6
Comparing to
See all releases

Code changes from version 1.3.5 to 1.3.6

Files changed (2) hide show
  1. lightning_advanced_unit.php +7 -1
  2. readme.txt +4 -1
lightning_advanced_unit.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Lightning Advanced Unit
4
  * Plugin URI: http://lightning.vektor-inc.co.jp/
5
- * Version: 1.3.5
6
  * Author: Vektor,Inc.
7
  * Author URI: http://www.vektor-inc.co.jp
8
  * Description: This is a plug-ins that extend the functionality of the theme "Lightning".
@@ -12,6 +12,10 @@
12
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
  */
14
 
 
 
 
 
15
  $data = get_file_data( __FILE__, array( 'version' => 'Version','textdomain' => 'Text Domain' ) );
16
  define( 'LIGHTNING_ADVANCED_VERSION', $data['version'] );
17
  define( 'LIGHTNING_ADVANCED_TEXTDOMAIN', $data['textdomain'] );
@@ -32,3 +36,5 @@ function lightning_adv_unit_textdomain() {
32
  load_plugin_textdomain( LIGHTNING_ADVANCED_TEXTDOMAIN, false, dirname(plugin_basename(__FILE__)).'/languages/' );
33
  }
34
  add_action( 'plugins_loaded', 'lightning_adv_unit_textdomain' );
 
 
2
  /**
3
  * Plugin Name: Lightning Advanced Unit
4
  * Plugin URI: http://lightning.vektor-inc.co.jp/
5
+ * Version: 1.3.6
6
  * Author: Vektor,Inc.
7
  * Author URI: http://www.vektor-inc.co.jp
8
  * Description: This is a plug-ins that extend the functionality of the theme "Lightning".
12
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
  */
14
 
15
+ $template = get_option('template');
16
+
17
+ if ( $template == 'lightning' ){
18
+
19
  $data = get_file_data( __FILE__, array( 'version' => 'Version','textdomain' => 'Text Domain' ) );
20
  define( 'LIGHTNING_ADVANCED_VERSION', $data['version'] );
21
  define( 'LIGHTNING_ADVANCED_TEXTDOMAIN', $data['textdomain'] );
36
  load_plugin_textdomain( LIGHTNING_ADVANCED_TEXTDOMAIN, false, dirname(plugin_basename(__FILE__)).'/languages/' );
37
  }
38
  add_action( 'plugins_loaded', 'lightning_adv_unit_textdomain' );
39
+
40
+ } // if ( $template == 'lightning' ){
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Lightning,
5
  Requires at least: 4.2
6
  Tested up to: 4.6.0
7
- Stable tag: 1.3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -43,6 +43,9 @@ e.g.
43
 
44
  == Changelog ==
45
 
 
 
 
46
  = 1.2.0 =
47
  * [ Add function ] Sidebar position changer
48
 
4
  Tags: Lightning,
5
  Requires at least: 4.2
6
  Tested up to: 4.6.0
7
+ Stable tag: 1.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
43
 
44
  == Changelog ==
45
 
46
+ = 1.3.6 =
47
+ * [ Specification change ] Work on Lightning only.
48
+
49
  = 1.2.0 =
50
  * [ Add function ] Sidebar position changer
51