From bc48c90edaf8d2879671bd4b8d118669e3b71f98 Mon Sep 17 00:00:00 2001 From: rick-addison Date: Fri, 11 Sep 2020 05:57:17 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E8=BF=BD=E6=92=83=20for=20momo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/vk-css-optimize/vk-css-optimize-config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/vk-css-optimize/vk-css-optimize-config.php b/inc/vk-css-optimize/vk-css-optimize-config.php index 7d5ee830c..49327960c 100644 --- a/inc/vk-css-optimize/vk-css-optimize-config.php +++ b/inc/vk-css-optimize/vk-css-optimize-config.php @@ -110,6 +110,7 @@ function lightning_css_tree_shaking_exclude( $inidata ) { function lightning_css_tree_shaking_exclude_class( $inidata ) { $exclude_classes_array = array( 'customize-partial-edit-shortcut', + 'vk_post', 'vk_post-col-xs-12', 'vk_post-col-xs-6', 'vk_post-col-xs-4', From d0f4edb2bb19dd2173b78c4a1465b5eec757410f Mon Sep 17 00:00:00 2001 From: rick-addison Date: Fri, 11 Sep 2020 06:08:56 +0900 Subject: [PATCH 2/3] =?UTF-8?q?TS=20=E3=81=8C=20BS=20=E3=81=A7=E5=8A=B9?= =?UTF-8?q?=E3=81=8B=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/vk-css-optimize/vk-css-optimize-config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/vk-css-optimize/vk-css-optimize-config.php b/inc/vk-css-optimize/vk-css-optimize-config.php index 49327960c..7e9ac5f7f 100644 --- a/inc/vk-css-optimize/vk-css-optimize-config.php +++ b/inc/vk-css-optimize/vk-css-optimize-config.php @@ -29,9 +29,9 @@ function lightning_optimize_css() { $skin_css_path = ! empty( $skin_info['css_sv_path'] ) ? $skin_info['css_sv_path'] : ''; $skin_version = ! empty( $skin_info['version'] ) ? $skin_info['version'] : ''; - $bs4_css_url = ( '4' === $bootstrap ) ? get_template_directory_uri() . '/library/bootstrap-4/css/bootstrap.min.css' : ''; - $bs4_css_path = ( '4' === $bootstrap ) ? get_parent_theme_file_path( '/library/bootstrap-4/css/bootstrap.min.css' ) : ''; - $bs4_version = ( '4' === $bootstrap ) ? '4.5.0' : ''; + $bs4_css_url = ( ! empty( $skin_info['bootstrap'] ) && 'bs4' === $skin_info['bootstrap'] ) ? get_template_directory_uri() . '/library/bootstrap-4/css/bootstrap.min.css' : ''; + $bs4_css_path = ( ! empty( $skin_info['bootstrap'] ) && 'bs4' === $skin_info['bootstrap'] ) ? get_parent_theme_file_path( '/library/bootstrap-4/css/bootstrap.min.css' ) : ''; + $bs4_version = ( ! empty( $skin_info['bootstrap'] ) && 'bs4' === $skin_info['bootstrap'] ) ? '4.5.0' : ''; // 表示位置の配列. global $vk_css_tree_shaking_array; From 610f3c272d800b443088d3d1670f6aa5a17ce06b Mon Sep 17 00:00:00 2001 From: rick-addison Date: Fri, 11 Sep 2020 14:35:44 +0900 Subject: [PATCH 3/3] [change version] 12.2.2 --- readme.txt | 5 ++++- style.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index f7e9099f6..cd7e7089f 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Lightning WordPress theme, Copyright (C) 2015-2020 Vektor,Inc. Lightning WordPress theme is licensed under the GPL. Tested up to: 5.5.1 -Stable tag: 12.2.1 +Stable tag: 12.2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -39,6 +39,9 @@ https://www.vektor-inc.co.jp/inquiry/ == Changelog == +v12.2.2 +* [ Bug fix ] Card tree shaking 2 + v12.2.1 * [ Bug fix ] Key color do not refrect * [ Bug fix ] Card tree shaking diff --git a/style.css b/style.css index ded7503a4..a1bb3fdd5 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Theme URI: https://lightning.nagoya Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files. Author: Vektor,Inc. Author URI: https://www.vektor-inc.co.jp -Version: 12.2.1 +Version: 12.2.2 Requires at least: 5.0 Tested up to: 5.5.0 Requires PHP: 5.6.0