Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- inc/vk-mobile-nav/class-vk-mobile-nav.php +12 -8
- lightning_advanced_unit.php +1 -1
- readme.txt +1 -1
inc/vk-mobile-nav/class-vk-mobile-nav.php
CHANGED
@@ -81,10 +81,12 @@ if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
|
|
81 |
if ( is_active_sidebar( 'vk-mobile-nav-upper' ) ) {
|
82 |
dynamic_sidebar( 'vk-mobile-nav-upper' );
|
83 |
} else {
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
88 |
}
|
89 |
|
90 |
$menu = wp_nav_menu(
|
@@ -111,10 +113,12 @@ if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
|
|
111 |
if ( is_active_sidebar( 'vk-mobile-nav-bottom' ) ) {
|
112 |
dynamic_sidebar( 'vk-mobile-nav-bottom' );
|
113 |
} else {
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
|
|
118 |
}
|
119 |
|
120 |
echo '</div>';
|
81 |
if ( is_active_sidebar( 'vk-mobile-nav-upper' ) ) {
|
82 |
dynamic_sidebar( 'vk-mobile-nav-upper' );
|
83 |
} else {
|
84 |
+
if ( current_user_can( 'edit_theme_options' ) ) {
|
85 |
+
echo '<div class="veu_adminEdit alert alert-info">';
|
86 |
+
echo '<p>' . sprintf( __( 'This is the widget area.<br>You can set widget item from [ <a href="%s">Appearance > Customize</a> ] Page -> "Widgets" panel -> "Mobile Nav Upper" Panel.', $vk_mobile_nav_textdomain ), admin_url( 'customize.php' ) ) . '</p>';
|
87 |
+
echo '<p>' . __( '* This message is displayed only to users with editing authority.', $vk_mobile_nav_textdomain ) . '</p>';
|
88 |
+
echo '</div>';
|
89 |
+
}
|
90 |
}
|
91 |
|
92 |
$menu = wp_nav_menu(
|
113 |
if ( is_active_sidebar( 'vk-mobile-nav-bottom' ) ) {
|
114 |
dynamic_sidebar( 'vk-mobile-nav-bottom' );
|
115 |
} else {
|
116 |
+
if ( current_user_can( 'edit_theme_options' ) ) {
|
117 |
+
echo '<div class="veu_adminEdit alert alert-info">';
|
118 |
+
echo '<p>' . sprintf( __( 'This is the widget area.<br>You can set widget item from [ <a href="%s">Appearance > Customize</a> ] Page -> "Widgets" panel -> "Mobile Nav Bottom" Panel.', $vk_mobile_nav_textdomain ), admin_url( 'customize.php' ) ) . '</p>';
|
119 |
+
echo '<p>' . __( '* This message is displayed only to users with editing authority.', $vk_mobile_nav_textdomain ) . '</p>';
|
120 |
+
echo '</div>';
|
121 |
+
}
|
122 |
}
|
123 |
|
124 |
echo '</div>';
|
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.0.
|
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.0.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
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.1
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.1
|
7 |
+
Stable tag: 3.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|