Skip to content

Commit

Permalink
Merge pull request #440 from vektor-inc/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
drill-lancer authored Sep 11, 2020
2 parents 5d4f609 + 610f3c2 commit 0131751
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions inc/vk-css-optimize/vk-css-optimize-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0131751

Please sign in to comment.