VK All in One Expansion Unit - Version 7.7.2

Version Description

  • [Bug fix][ VK Blocks ][ outer ] Lightning Pro themeNo child no work bug fix
Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 7.7.2
Comparing to
See all releases

Code changes from version 7.7.1 to 7.7.2

plugins/vk-blocks-config.php CHANGED
@@ -7,7 +7,7 @@ if ( ! function_exists( 'vkblocks_active' ) ) {
7
  // Set asset URL.
8
  define( 'VK_BLOCKS_URL', plugin_dir_url( __FILE__ ) . 'vk-blocks/' );
9
  // Set version number.
10
- define( 'VK_BLOCKS_VERSION', '0.5.1' );
11
 
12
  global $vk_blocks_prefix;
13
  $vk_blocks_prefix = veu_get_prefix();
7
  // Set asset URL.
8
  define( 'VK_BLOCKS_URL', plugin_dir_url( __FILE__ ) . 'vk-blocks/' );
9
  // Set version number.
10
+ define( 'VK_BLOCKS_VERSION', '0.5.2' );
11
 
12
  global $vk_blocks_prefix;
13
  $vk_blocks_prefix = veu_get_prefix();
plugins/vk-blocks/vk-blocks-functions.php CHANGED
@@ -22,8 +22,8 @@ function vkblocks_blocks_assets() {
22
  $theme = wp_get_theme();
23
  if ( $theme->exists() ) {
24
  // 親テーマのテンプレートを取得
25
- $theme_slug = $theme->get( 'Template' );
26
- if ( $theme_slug == 'lightning-pro' ) {
27
  wp_localize_script( 'vk-blocks-build-js', 'vk_blocks_check', array( 'is_pro' => true ) );
28
  } else {
29
  wp_localize_script( 'vk-blocks-build-js', 'vk_blocks_check', array( 'is_pro' => false ) );
22
  $theme = wp_get_theme();
23
  if ( $theme->exists() ) {
24
  // 親テーマのテンプレートを取得
25
+ // 親テーマが lightning-pro テーマ名が Lightning Pro の時
26
+ if ( $theme->get( 'Template' ) == 'lightning-pro' || $theme->get( 'Name' ) == 'Lightning Pro' ) {
27
  wp_localize_script( 'vk-blocks-build-js', 'vk_blocks_check', array( 'is_pro' => true ) );
28
  } else {
29
  wp_localize_script( 'vk-blocks-build-js', 'vk_blocks_check', array( 'is_pro' => false ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
  Tested up to: 5.0.3
7
- Stable tag: 7.7.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -84,6 +84,9 @@ e.g.
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 7.7.1 =
88
  * [Bug fix][ VK Blocks ][ outer ] Child theme no work bug fix
89
 
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
  Tested up to: 5.0.3
7
+ Stable tag: 7.7.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 7.7.2 =
88
+ * [Bug fix][ VK Blocks ][ outer ] Lightning Pro theme(No child) no work bug fix
89
+
90
  = 7.7.1 =
91
  * [Bug fix][ VK Blocks ][ outer ] Child theme no work bug fix
92
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 7.7.1
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 7.7.2
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages