VK All in One Expansion Unit - Version 9.61.3.0

Version Description

[ Specification Change ] Update VK Admin Library.

Download this release

Release Info

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

Code changes from version 9.61.2.0 to 9.61.3.0

admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -55,7 +55,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
55
 
56
  /**
57
  * Theme Exists
58
- *
59
  * @param string $theme '${theme_dir}/style.css'.
60
  */
61
  public static function theme_exists( $theme ) {
@@ -76,15 +76,17 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
76
  /*--------------------------------------------------*/
77
  public static function get_admin_banner() {
78
 
 
 
79
  $banner_html = '';
80
  $dir_url = plugin_dir_url( __FILE__ );
81
  $lang = ( get_locale() == 'ja' ) ? 'ja' : 'en';
82
 
83
  // 画像を配置したディレクトリの URL
84
- $img_base_url = 'https://raw.githubusercontent.com/vektor-inc/vk-banners/main/images/';
85
 
86
  // 変数の初期化
87
- $product_array = array();
88
 
89
  // WP File System で JSON ファイルを読み込み
90
  require_once ABSPATH . 'wp-admin/includes/file.php';
@@ -92,10 +94,10 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
92
  global $wp_filesystem;
93
 
94
  // プロダクトの配列を取得・生成
95
- $product_json_url = 'https://raw.githubusercontent.com/vektor-inc/vk-banners/main/vk-admin-banners.json';
96
  $product_json = $wp_filesystem->get_contents( $product_json_url );
97
  $product_json = mb_convert_encoding( $product_json, 'UTF8', 'ASCII,JIS,UTF-8,EUC-JP,SJIS-WIN' );
98
- $product_array = json_decode( $product_json, true );
99
 
100
  }
101
 
@@ -112,7 +114,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
112
  $banner_html .= '<div class="vk-admin-banner-grid">';
113
 
114
  // テーマのバナーを設置
115
- foreach ( $product_array as $product ) {
116
 
117
  if ( 'theme' === $product['type'] ) {
118
  if ( ! self::theme_exists( $product['slug'] ) ) {
@@ -149,7 +151,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
149
 
150
  $banner_html .= '</div>';
151
 
152
- $banner_html .= '<a href="//www.vektor-inc.co.jp" class="vektor_logo" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/vektor_logo-2020.png" alt="Vektor,Inc." /></a>';
153
 
154
  $banner_html .= '</div>';
155
 
@@ -175,7 +177,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
175
 
176
  public static function get_news_from_rest_api() {
177
 
178
- $html = '<h4 class="vk-metabox-sub-title">';
179
  $html .= 'Vektor製品更新情報';
180
  $html .= '<a href="https://www.vektor-inc.co.jp/product-update/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
181
  $html .= '</h4>';
55
 
56
  /**
57
  * Theme Exists
58
+ *
59
  * @param string $theme '${theme_dir}/style.css'.
60
  */
61
  public static function theme_exists( $theme ) {
76
  /*--------------------------------------------------*/
77
  public static function get_admin_banner() {
78
 
79
+
80
+
81
  $banner_html = '';
82
  $dir_url = plugin_dir_url( __FILE__ );
83
  $lang = ( get_locale() == 'ja' ) ? 'ja' : 'en';
84
 
85
  // 画像を配置したディレクトリの URL
86
+ $img_base_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/images/';
87
 
88
  // 変数の初期化
89
+ $product_array = array();
90
 
91
  // WP File System で JSON ファイルを読み込み
92
  require_once ABSPATH . 'wp-admin/includes/file.php';
94
  global $wp_filesystem;
95
 
96
  // プロダクトの配列を取得・生成
97
+ $product_json_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/vk-admin-banners.json';
98
  $product_json = $wp_filesystem->get_contents( $product_json_url );
99
  $product_json = mb_convert_encoding( $product_json, 'UTF8', 'ASCII,JIS,UTF-8,EUC-JP,SJIS-WIN' );
100
+ $product_array = json_decode( $product_json,true );
101
 
102
  }
103
 
114
  $banner_html .= '<div class="vk-admin-banner-grid">';
115
 
116
  // テーマのバナーを設置
117
+ foreach( $product_array as $product ) {
118
 
119
  if ( 'theme' === $product['type'] ) {
120
  if ( ! self::theme_exists( $product['slug'] ) ) {
151
 
152
  $banner_html .= '</div>';
153
 
154
+ $banner_html .= '<a href="//www.vektor-inc.co.jp" class="vektor_logo" target="_blank" class="admin_banner"><img src="' . $img_base_url . 'images/vektor_logo-2020.png" alt="Vektor,Inc." /></a>';
155
 
156
  $banner_html .= '</div>';
157
 
177
 
178
  public static function get_news_from_rest_api() {
179
 
180
+ $html = '<h4 class="vk-metabox-sub-title">';
181
  $html .= 'Vektor製品更新情報';
182
  $html .= '<a href="https://www.vektor-inc.co.jp/product-update/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
183
  $html .= '</h4>';
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: 5.3.0
6
  Tested up to: 5.7.2
7
- Stable tag: 9.61.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -81,6 +81,9 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 9.61.2.0 =
85
  [ Specification Change ] Admin dashboard banner include
86
  [ Specification Change ] Stop exclude CSS Var by Tree shaking
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 5.3.0
6
  Tested up to: 5.7.2
7
+ Stable tag: 9.61.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
81
 
82
  == Changelog ==
83
 
84
+ = 9.61.3.0 =
85
+ [ Specification Change ] Update VK Admin Library.
86
+
87
  = 9.61.2.0 =
88
  [ Specification Change ] Admin dashboard banner include
89
  [ Specification Change ] Stop exclude CSS Var by Tree shaking
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: 9.61.2.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
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: 9.61.3.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages