Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 3.1.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.1.2
- inc/navi-common.php +15 -0
- lightning_advanced_unit.php +1 -1
- readme.txt +2 -2
inc/navi-common.php
CHANGED
@@ -13,6 +13,21 @@ function ltg_adv_is_slide_menu() {
|
|
13 |
|
14 |
$options = get_option( 'lightning_theme_options' );
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
if ( isset( $options['menu_type'] ) && ( $options['menu_type'] == 'vk_mobile_nav' ) ) {
|
17 |
|
18 |
/*-------------------------------------------*/
|
13 |
|
14 |
$options = get_option( 'lightning_theme_options' );
|
15 |
|
16 |
+
/*
|
17 |
+
@since 2018.4.16
|
18 |
+
メニュー未設定時の対策
|
19 |
+
*/
|
20 |
+
$skin = get_option( 'lightning_design_skin' );
|
21 |
+
if ( $skin == 'variety' || $skin == 'charm' || $skin == 'fort' || $skin == 'pale' ) {
|
22 |
+
/*-------------------------------------------*/
|
23 |
+
/* メニュータイプが未指定の時はVK Mobile Navに指定
|
24 |
+
/*-------------------------------------------*/
|
25 |
+
if ( empty( $options['menu_type'] ) ) {
|
26 |
+
$options['menu_type'] = 'vk_mobile_nav';
|
27 |
+
update_option( 'lightning_theme_options', $options );
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
if ( isset( $options['menu_type'] ) && ( $options['menu_type'] == 'vk_mobile_nav' ) ) {
|
32 |
|
33 |
/*-------------------------------------------*/
|
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: 3.1.
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: https://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
+
* Version: 3.1.2
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: https://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vektor-inc,bizvektor,kurudrive
|
|
3 |
Donate link:
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
3 |
Donate link:
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 4.9.5
|
7 |
+
Stable tag: 3.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|