VK All in One Expansion Unit - Version 9.11.3.0

Version Description

[ Specification change ] Default display the customizer ExUnit Panel

Download this release

Release Info

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

Code changes from version 9.11.2.0 to 9.11.3.0

Files changed (3) hide show
  1. admin/customizer.php +25 -20
  2. readme.txt +4 -1
  3. vkExUnit.php +1 -1
admin/customizer.php CHANGED
@@ -16,22 +16,22 @@ add_action( 'after_setup_theme', 'veu_add_customize_panel' );
16
  // カスタマイズパネルを出力するかどうかの判別
17
  function veu_add_customize_panel() {
18
  // 基本的にはカスタマイズ画面で「ExUnit設定」パネルは表示されない
19
- if ( apply_filters( 'veu_customize_panel_activation', false ) ) {
20
  // 各機能からカスタマイザー機能を有効化する指定がされてたら、親パネルである「ExUnit設定」を出力する関数を実行する
21
  add_action( 'customize_register', 'veu_customize_register' );
22
  // パネルを表示する = カスタマイザーが利用されるので、独自のコントロールクラスを追加
23
  add_action( 'customize_register', 'veu_customize_register_add_control', 10 );
24
- }
25
  }
26
 
27
-
28
  // 「ExUnit設定」パネルを出力する関数
29
  function veu_customize_register( $wp_customize ) {
30
- /*-------------------------------------------*/
31
- /* ExUnit Panel
32
  /*-------------------------------------------*/
33
  $wp_customize->add_panel(
34
- 'veu_setting', array(
 
35
  'priority' => 1000,
36
  'capability' => 'edit_theme_options',
37
  'theme_supports' => '',
@@ -41,12 +41,13 @@ function veu_customize_register( $wp_customize ) {
41
 
42
  }
43
 
44
- /*-------------------------------------------*/
45
- /* ExUnit Original Controls
46
  /*-------------------------------------------*/
47
  function veu_customize_register_add_control() {
48
 
49
- /* Add text control description
 
50
  /*-------------------------------------------*/
51
  class ExUnit_Custom_Text_Control extends WP_Customize_Control {
52
  public $type = 'customtext';
@@ -54,7 +55,7 @@ function veu_customize_register_add_control() {
54
  public $input_before = '';
55
  public $input_after = '';
56
  public function render_content() {
57
- ?>
58
  <label>
59
  <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
60
  <?php $style = ( $this->input_before || $this->input_after ) ? ' style="width:50%"' : ''; ?>
@@ -65,11 +66,12 @@ function veu_customize_register_add_control() {
65
  </div>
66
  <span><?php echo $this->description; ?></span>
67
  </label>
68
- <?php
69
  } // public function render_content() {
70
  } // class Custom_Text_Control extends WP_Customize_Control
71
 
72
- /* Add text control description
 
73
  /*-------------------------------------------*/
74
  class ExUnit_Custom_Html extends WP_Customize_Control {
75
  public $type = 'customtext';
@@ -86,8 +88,8 @@ function veu_customize_register_add_control() {
86
  if ( $this->custom_html ) {
87
  echo '<div>' . wp_kses_post( $this->custom_html ) . '</div>';
88
  }
89
- ?>
90
- <?php
91
  } // public function render_content() {
92
  } // class VkExUnit_Custom_Html extends WP_Customize_Control
93
 
@@ -97,11 +99,12 @@ function veu_customize_register_add_control() {
97
  add_action( 'customize_register', 'veu_customize_register_pagespeed' );
98
  function veu_customize_register_pagespeed( $wp_customize ) {
99
 
100
- /*-------------------------------------------*/
101
- /* Page speedind setting
102
  /*-------------------------------------------*/
103
  $wp_customize->add_section(
104
- 'veu_speeding_setting', array(
 
105
  'title' => __( 'Page Speedind Setting', 'vk-all-in-one-expansion-unit' ),
106
  'priority' => 1,
107
  'panel' => 'veu_setting',
@@ -109,7 +112,8 @@ function veu_customize_register_pagespeed( $wp_customize ) {
109
  );
110
 
111
  $wp_customize->add_setting(
112
- 'vkExUnit_pagespeeding[common]', array(
 
113
  'default' => false,
114
  'type' => 'option',
115
  'capability' => 'edit_theme_options',
@@ -117,7 +121,8 @@ function veu_customize_register_pagespeed( $wp_customize ) {
117
  )
118
  );
119
  $wp_customize->add_control(
120
- 'vkExUnit_pagespeeding[common]', array(
 
121
  'label' => __( 'Enable speeding up', 'vk-all-in-one-expansion-unit' ),
122
  'section' => 'veu_speeding_setting',
123
  'settings' => 'vkExUnit_pagespeeding[common]',
@@ -126,4 +131,4 @@ function veu_customize_register_pagespeed( $wp_customize ) {
126
  )
127
  );
128
 
129
- }
16
  // カスタマイズパネルを出力するかどうかの判別
17
  function veu_add_customize_panel() {
18
  // 基本的にはカスタマイズ画面で「ExUnit設定」パネルは表示されない
19
+ // if ( apply_filters( 'veu_customize_panel_activation', false ) ) {
20
  // 各機能からカスタマイザー機能を有効化する指定がされてたら、親パネルである「ExUnit設定」を出力する関数を実行する
21
  add_action( 'customize_register', 'veu_customize_register' );
22
  // パネルを表示する = カスタマイザーが利用されるので、独自のコントロールクラスを追加
23
  add_action( 'customize_register', 'veu_customize_register_add_control', 10 );
24
+ // }
25
  }
26
 
 
27
  // 「ExUnit設定」パネルを出力する関数
28
  function veu_customize_register( $wp_customize ) {
29
+ /*
30
+ ExUnit Panel
31
  /*-------------------------------------------*/
32
  $wp_customize->add_panel(
33
+ 'veu_setting',
34
+ array(
35
  'priority' => 1000,
36
  'capability' => 'edit_theme_options',
37
  'theme_supports' => '',
41
 
42
  }
43
 
44
+ /*
45
+ ExUnit Original Controls
46
  /*-------------------------------------------*/
47
  function veu_customize_register_add_control() {
48
 
49
+ /*
50
+ Add text control description
51
  /*-------------------------------------------*/
52
  class ExUnit_Custom_Text_Control extends WP_Customize_Control {
53
  public $type = 'customtext';
55
  public $input_before = '';
56
  public $input_after = '';
57
  public function render_content() {
58
+ ?>
59
  <label>
60
  <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
61
  <?php $style = ( $this->input_before || $this->input_after ) ? ' style="width:50%"' : ''; ?>
66
  </div>
67
  <span><?php echo $this->description; ?></span>
68
  </label>
69
+ <?php
70
  } // public function render_content() {
71
  } // class Custom_Text_Control extends WP_Customize_Control
72
 
73
+ /*
74
+ Add text control description
75
  /*-------------------------------------------*/
76
  class ExUnit_Custom_Html extends WP_Customize_Control {
77
  public $type = 'customtext';
88
  if ( $this->custom_html ) {
89
  echo '<div>' . wp_kses_post( $this->custom_html ) . '</div>';
90
  }
91
+ ?>
92
+ <?php
93
  } // public function render_content() {
94
  } // class VkExUnit_Custom_Html extends WP_Customize_Control
95
 
99
  add_action( 'customize_register', 'veu_customize_register_pagespeed' );
100
  function veu_customize_register_pagespeed( $wp_customize ) {
101
 
102
+ /*
103
+ Page speedind setting
104
  /*-------------------------------------------*/
105
  $wp_customize->add_section(
106
+ 'veu_speeding_setting',
107
+ array(
108
  'title' => __( 'Page Speedind Setting', 'vk-all-in-one-expansion-unit' ),
109
  'priority' => 1,
110
  'panel' => 'veu_setting',
112
  );
113
 
114
  $wp_customize->add_setting(
115
+ 'vkExUnit_pagespeeding[common]',
116
+ array(
117
  'default' => false,
118
  'type' => 'option',
119
  'capability' => 'edit_theme_options',
121
  )
122
  );
123
  $wp_customize->add_control(
124
+ 'vkExUnit_pagespeeding[common]',
125
+ array(
126
  'label' => __( 'Enable speeding up', 'vk-all-in-one-expansion-unit' ),
127
  'section' => 'veu_speeding_setting',
128
  'settings' => 'vkExUnit_pagespeeding[common]',
131
  )
132
  );
133
 
134
+ }
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.0.0
6
  Tested up to: 5.3.2
7
- Stable tag: 9.11.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -93,6 +93,9 @@ e.g.
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 9.11.2.0 =
97
  [ Specification change ][ vk blocks ] YouTube display width : 100%
98
  [ Specification change ][ vk blocks ] css load point controll
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 5.0.0
6
  Tested up to: 5.3.2
7
+ Stable tag: 9.11.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
93
 
94
  == Changelog ==
95
 
96
+ = 9.11.3.0 =
97
+ [ Specification change ] Default display the customizer ExUnit Panel
98
+
99
  = 9.11.2.0 =
100
  [ Specification change ][ vk blocks ] YouTube display width : 100%
101
  [ Specification change ][ vk blocks ] css load point controll
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.11.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.11.3.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages