VK All in One Expansion Unit - Version 9.36.1.0

Version Description

[ bug fix ][ SNS/OG ] Fix print default image

Download this release

Release Info

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

Code changes from version 9.35.0.0 to 9.36.1.0

admin/admin-active-setting-page.php CHANGED
@@ -51,7 +51,11 @@ foreach ( $vkExUnit_packages as $package ) :
51
  $i = 0;
52
  if ( $count ) :
53
  foreach ( $package['attr'] as $att ) :
54
- if ( ! $att['enable_only'] || $active ) :
 
 
 
 
55
  ?>
56
  <?php echo ( $count > 1 && $i >= 1 ) ? ' | ' : ''; ?>
57
  <span>
51
  $i = 0;
52
  if ( $count ) :
53
  foreach ( $package['attr'] as $att ) :
54
+ if (
55
+ // パッケージが有効化されている
56
+ $active ||
57
+ // 有効ではないが enable only が false のとき
58
+ empty( $att['enable_only'] ) ) :
59
  ?>
60
  <?php echo ( $count > 1 && $i >= 1 ) ? ' | ' : ''; ?>
61
  <span>
admin/admin.php CHANGED
@@ -32,21 +32,43 @@ add_action( 'admin_menu', 'veu_setting_menu_parent', 10 );
32
  function veu_setting_menu_parent() {
33
  global $menu;
34
 
35
- $parent_name = veu_get_little_short_name();
36
-
37
  $capability_required = 'activate_plugins';
 
 
38
 
39
  $custom_page = add_menu_page(
40
- $parent_name, // Name of page
41
- $parent_name, // Label in menu
42
  $capability_required,
43
- 'vkExUnit_setting_page', // ユニークなこのサブメニューページの識別子
44
- 'vkExUnit_add_setting_page' // メニューページのコンテンツを出力する関数
45
  );
46
  if ( ! $custom_page ) {
47
  return; }
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  // ブロックを有効化する際、プラグインが有効になっていたらこれを無効にする
51
  add_filter('pre_update_option_vkExUnit_common_options', function( $new_option, $old_value, $option ){
52
  if (
@@ -70,7 +92,7 @@ add_filter('pre_update_option_vkExUnit_common_options', function( $new_option, $
70
  /*
71
  Load master setting page
72
  /*-------------------------------------------*/
73
- function vkExUnit_add_setting_page() {
74
  require dirname( __FILE__ ) . '/admin-active-setting-page.php';
75
  }
76
 
32
  function veu_setting_menu_parent() {
33
  global $menu;
34
 
35
+ $page_title = veu_get_little_short_name();
36
+ $menu_title = veu_get_little_short_name();
37
  $capability_required = 'activate_plugins';
38
+ $menu_slug = 'vkExUnit_setting_page';
39
+ $callback_function = 'veu_add_setting_page';
40
 
41
  $custom_page = add_menu_page(
42
+ $page_title,
43
+ $menu_title,
44
  $capability_required,
45
+ $menu_slug,
46
+ $callback_function
47
  );
48
  if ( ! $custom_page ) {
49
  return; }
50
  }
51
 
52
+ add_action( 'admin_menu', 'veu_active_setting_menu', 10 );
53
+ function veu_active_setting_menu() {
54
+ // $capability_required = veu_get_capability_required();
55
+ add_submenu_page(
56
+ // parent_menu_slug
57
+ 'vkExUnit_setting_page',
58
+ // sub_menu_page_title
59
+ __( 'Active Setting', 'vk-all-in-one-expansion-unit' ),
60
+ // sub_menu_label
61
+ __( 'Active Setting', 'vk-all-in-one-expansion-unit' ),
62
+ // capability_required
63
+ // edit_theme_optionsのユーザーにもアクセスさせないため
64
+ 'activate_plugins',
65
+ // sub_menu_slug
66
+ 'vkExUnit_setting_page',
67
+ // callback_function
68
+ 'veu_add_setting_page'
69
+ );
70
+ }
71
+
72
  // ブロックを有効化する際、プラグインが有効になっていたらこれを無効にする
73
  add_filter('pre_update_option_vkExUnit_common_options', function( $new_option, $old_value, $option ){
74
  if (
92
  /*
93
  Load master setting page
94
  /*-------------------------------------------*/
95
+ function veu_add_setting_page() {
96
  require dirname( __FILE__ ) . '/admin-active-setting-page.php';
97
  }
98
 
admin/vk-admin/package/_scss/vk_admin.scss CHANGED
@@ -1,5 +1,6 @@
1
  @charset "utf-8";
2
  // @import "compass";
 
3
  .text-left {
4
  text-align: left;
5
  }
1
  @charset "utf-8";
2
  // @import "compass";
3
+ body{margin:0;}
4
  .text-left {
5
  text-align: left;
6
  }
admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -44,6 +44,24 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
44
  }
45
  }
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  /*
48
  get_admin_banner
49
  get_news_body_api
@@ -72,8 +90,15 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
72
 
73
  $banner .= '<div class="vk-admin-banner-grid">';
74
 
 
 
 
 
 
 
 
75
  // プラグイン VK Block Patterns を有効化していない人にバナーを表示
76
- if ( ! is_plugin_active( 'vk-block-patterns/vk-block-patterns.php' ) ) {
77
  if ( $lang == 'ja' ) {
78
  $bnr_file_name = 'vk-block-patterns_bnr.jpg';
79
  } else {
@@ -83,7 +108,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
83
  }
84
 
85
  // プラグイン Link Target Controller を有効化していない人にバナーを表示
86
- if ( ! is_plugin_active( 'vk-link-target-controller/vk-link-target-controller.php' ) ) {
87
  if ( $lang == 'ja' ) {
88
  $bnr_file_name = 'vk-link-target-controller_bnr.jpg';
89
  } else {
@@ -93,7 +118,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
93
  }
94
 
95
  // プラグイン VK Aost Author Display を有効化していない人にバナーを表示
96
- if ( ! is_plugin_active( 'vk-post-author-display/post-author-display.php' ) ) {
97
  if ( $lang == 'ja' ) {
98
  $bnr_file_name = 'post_author_display_bnr_ja.jpg';
99
  } else {
@@ -104,7 +129,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
104
  }
105
 
106
  // プラグイン VK Job Posting Manager を有効化していない人にバナーを表示
107
- if ( ! is_plugin_active( 'vk-google-job-posting-manager/vk-google-job-posting-manager.php' ) ) {
108
  if ( $lang == 'ja' ) {
109
  $bnr_file_name = 'job_banner-336_280-ja.jpg';
110
  } else {
@@ -115,44 +140,39 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
115
  }
116
 
117
  // テーマがLightningじゃない場合にLighntingのバナーを表示
118
- if ( ! function_exists( 'lightning_get_theme_name' ) ) {
119
  if ( $lang == 'ja' ) {
120
  $banner .= '<a href="//lightning.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_ja.jpg" alt="lightning_bnr_ja" /></a>';
121
  } else {
122
  $banner .= '<a href="//lightning.nagoya/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_en.jpg" alt="lightning_bnr_en" /></a>';
123
  } // if ( $lang == 'ja' ) {
124
  } // if ( $theme != 'lightning' ) {
125
-
126
- $theme = get_template();
127
- if ( $lang == 'ja' && $theme != 'bill-vektor' && $theme != 'bill-vektor-master' ) {
128
  $banner .= '<a href="//billvektor.com" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/billvektor_banner.png" alt="見積書・請求書管理用WordPressテーマ" /></a>';
129
  }
130
 
131
- if (
132
- $lang == 'ja' &&
133
- $theme != 'Lightning-pro' &&
134
- $theme != 'lightning-pro'
135
- ) {
136
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/lightning-pro" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning-pro-bnr.jpg" alt="" /></a>';
137
  }
138
 
139
- if ( $lang == 'ja' && ! is_plugin_active( 'lightning-skin-jpnstyle/lightning_skin_jpnstyle.php' ) ) {
140
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-jpnstyle/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/jpnstyle-bnr.jpg" alt="" /></a>';
141
  }
142
 
143
- if ( $lang == 'ja' && ! is_plugin_active( 'lightning-skin-fort/lightning-skin-fort.php' ) ) {
144
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-fort/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/fort-bnr.jpg" alt="" /></a>';
145
  }
146
 
147
- if ( $lang == 'ja' && ! is_plugin_active( 'lightning-skin-pale/lightning-skin-pale.php' ) ) {
148
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-pale/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/pale-bnr.jpg" alt="" /></a>';
149
  }
150
 
151
- if ( $lang == 'ja' && ! is_plugin_active( 'lightning-skin-pale/lightning-skin-variety.php' ) ) {
152
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-variety/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/variety-bnr.jpg" alt="" /></a>';
153
  }
154
 
155
- if ( $lang == 'ja' && ! is_plugin_active( 'vk-all-in-one-expansion-unit/vkExUnit.php' ) ) {
156
  $banner .= '<a href="https://ex-unit.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/ExUnit_bnr.png" alt="" /></a>';
157
  }
158
 
@@ -268,7 +288,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
268
  /* RSS方針で現在は日本語以外でのみ使用
269
  /*--------------------------------------------------*/
270
  public static function get_news_from_rss() {
271
- global $vk_admin_textdomain;
272
  $output = '';
273
 
274
  include_once ABSPATH . WPINC . '/feed.php';
@@ -298,7 +318,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
298
 
299
  if ( $maxitems == 0 ) {
300
  $output .= '<li>';
301
- $output .= __( 'Sorry, there is no post', $vk_admin_textdomain );
302
  $output .= '</li>';
303
  } else {
304
  foreach ( $rss_items as $item ) {
@@ -331,10 +351,10 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
331
  if ( 'ja' == get_locale() ) {
332
  $flag = true;
333
  }
334
- if ( is_plugin_active( 'vk-all-in-one-expansion-unit/vkExUnit.php' ) ) {
335
  $flag = true;
336
  }
337
- if ( ! is_plugin_active( 'vk-post-author-display/post-author-display.php' ) ) {
338
  $flag = true;
339
  }
340
  $theme = wp_get_theme()->get( 'Template' );
@@ -348,11 +368,11 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
348
  admin _ Dashboard Widget
349
  /*--------------------------------------------------*/
350
  public static function dashboard_widget() {
351
- global $vk_admin_textdomain;
352
  if ( self::is_dashboard_active() ) {
353
  wp_add_dashboard_widget(
354
  'vk_dashboard_widget',
355
- __( 'Vektor WordPress Information', $vk_admin_textdomain ),
356
  array( __CLASS__, 'dashboard_widget_body' )
357
  );
358
  }
44
  }
45
  }
46
 
47
+ /**
48
+ * Plugin Exists
49
+ *
50
+ * @param string $plugin '${plugin_dir}/${plugin_file}.php'.
51
+ */
52
+ public static function plugin_exists( $plugin ) {
53
+ return file_exists( WP_PLUGIN_DIR . '/' . $plugin );
54
+ }
55
+
56
+ /**
57
+ * Theme Exists
58
+ *
59
+ * @param string $theme '${theme_dir}/style.css'.
60
+ */
61
+ public static function theme_exists( $theme ) {
62
+ return file_exists( WP_CONTENT_DIR . '/themes/' . $theme );
63
+ }
64
+
65
  /*
66
  get_admin_banner
67
  get_news_body_api
90
 
91
  $banner .= '<div class="vk-admin-banner-grid">';
92
 
93
+ // テーマが Katawara じゃない場合に Katawara のバナーを表示
94
+ if ( ! self::theme_exists( 'katawara/style.css' ) ) {
95
+ if ( $lang == 'ja' ) {
96
+ $banner .= '<a href="https://www.vektor-inc.co.jp/service/wordpress-theme/katawara/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/katawara_bnr.jpg" alt="katawara_bnr_ja" /></a>';
97
+ }
98
+ }
99
+
100
  // プラグイン VK Block Patterns を有効化していない人にバナーを表示
101
+ if ( ! self::plugin_exists( 'vk-block-patterns/vk-block-patterns.php' ) ) {
102
  if ( $lang == 'ja' ) {
103
  $bnr_file_name = 'vk-block-patterns_bnr.jpg';
104
  } else {
108
  }
109
 
110
  // プラグイン Link Target Controller を有効化していない人にバナーを表示
111
+ if ( ! self::plugin_exists( 'vk-link-target-controller/vk-link-target-controller.php' ) ) {
112
  if ( $lang == 'ja' ) {
113
  $bnr_file_name = 'vk-link-target-controller_bnr.jpg';
114
  } else {
118
  }
119
 
120
  // プラグイン VK Aost Author Display を有効化していない人にバナーを表示
121
+ if ( ! self::plugin_exists( 'vk-post-author-display/post-author-display.php' ) ) {
122
  if ( $lang == 'ja' ) {
123
  $bnr_file_name = 'post_author_display_bnr_ja.jpg';
124
  } else {
129
  }
130
 
131
  // プラグイン VK Job Posting Manager を有効化していない人にバナーを表示
132
+ if ( ! self::plugin_exists( 'vk-google-job-posting-manager/vk-google-job-posting-manager.php' ) ) {
133
  if ( $lang == 'ja' ) {
134
  $bnr_file_name = 'job_banner-336_280-ja.jpg';
135
  } else {
140
  }
141
 
142
  // テーマがLightningじゃない場合にLighntingのバナーを表示
143
+ if ( ! self::theme_exists( 'lightning/style.css' ) ) {
144
  if ( $lang == 'ja' ) {
145
  $banner .= '<a href="//lightning.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_ja.jpg" alt="lightning_bnr_ja" /></a>';
146
  } else {
147
  $banner .= '<a href="//lightning.nagoya/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_en.jpg" alt="lightning_bnr_en" /></a>';
148
  } // if ( $lang == 'ja' ) {
149
  } // if ( $theme != 'lightning' ) {
150
+
151
+ if ( ! self::theme_exists( 'bill-vektor/style.css' ) && ! self::theme_exists( 'bill-vektor-master/style.css' ) && 'ja' === $lang ) {
 
152
  $banner .= '<a href="//billvektor.com" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/billvektor_banner.png" alt="見積書・請求書管理用WordPressテーマ" /></a>';
153
  }
154
 
155
+ if ( ! self::theme_exists( 'lightning-pro/style.css' ) && 'ja' === $lang ) {
 
 
 
 
156
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/lightning-pro" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning-pro-bnr.jpg" alt="" /></a>';
157
  }
158
 
159
+ if ( $lang == 'ja' && ! self::plugin_exists( 'lightning-skin-jpnstyle/lightning_skin_jpnstyle.php' ) ) {
160
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-jpnstyle/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/jpnstyle-bnr.jpg" alt="" /></a>';
161
  }
162
 
163
+ if ( $lang == 'ja' && ! self::plugin_exists( 'lightning-skin-fort/lightning-skin-fort.php' ) ) {
164
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-fort/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/fort-bnr.jpg" alt="" /></a>';
165
  }
166
 
167
+ if ( $lang == 'ja' && ! self::plugin_exists( 'lightning-skin-pale/lightning-skin-pale.php' ) ) {
168
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-pale/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/pale-bnr.jpg" alt="" /></a>';
169
  }
170
 
171
+ if ( $lang == 'ja' && ! self::plugin_exists( 'lightning-skin-variety/lightning_skin_variety.php' ) ) {
172
  $banner .= '<a href="https://lightning.nagoya/ja/expansion/ex_plugin/lightning-variety/?rel=vkadmin" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/variety-bnr.jpg" alt="" /></a>';
173
  }
174
 
175
+ if ( $lang == 'ja' && ! self::plugin_exists( 'vk-all-in-one-expansion-unit/vkExUnit.php' ) ) {
176
  $banner .= '<a href="https://ex-unit.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/ExUnit_bnr.png" alt="" /></a>';
177
  }
178
 
288
  /* RSS方針で現在は日本語以外でのみ使用
289
  /*--------------------------------------------------*/
290
  public static function get_news_from_rss() {
291
+
292
  $output = '';
293
 
294
  include_once ABSPATH . WPINC . '/feed.php';
318
 
319
  if ( $maxitems == 0 ) {
320
  $output .= '<li>';
321
+ $output .= __( 'Sorry, there is no post', 'vk_admin_textdomain' );
322
  $output .= '</li>';
323
  } else {
324
  foreach ( $rss_items as $item ) {
351
  if ( 'ja' == get_locale() ) {
352
  $flag = true;
353
  }
354
+ if ( self::plugin_exists( 'vk-all-in-one-expansion-unit/vkExUnit.php' ) ) {
355
  $flag = true;
356
  }
357
+ if ( ! self::plugin_exists( 'vk-post-author-display/post-author-display.php' ) ) {
358
  $flag = true;
359
  }
360
  $theme = wp_get_theme()->get( 'Template' );
368
  admin _ Dashboard Widget
369
  /*--------------------------------------------------*/
370
  public static function dashboard_widget() {
371
+
372
  if ( self::is_dashboard_active() ) {
373
  wp_add_dashboard_widget(
374
  'vk_dashboard_widget',
375
+ __( 'Vektor WordPress Information', 'vk_admin_textdomain' ),
376
  array( __CLASS__, 'dashboard_widget_body' )
377
  );
378
  }
admin/vk-admin/package/css/vk_admin.css CHANGED
@@ -1 +1 @@
1
- .text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right;min-height:300px}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
1
+ body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right;min-height:300px}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
admin/vk-admin/package/images/katawara_bnr.jpg ADDED
Binary file
inc/common-block.php CHANGED
@@ -5,6 +5,58 @@
5
  * @package VK All in One Expansion Unit
6
  */
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  global $common_attributes;
9
  $common_attributes = array(
10
  'vkb_hidden' => array(
5
  * @package VK All in One Expansion Unit
6
  */
7
 
8
+ /**
9
+ * VK Block Deprecated Alart
10
+ */
11
+ function veu_block_deprecated_alart() {
12
+ global $pagenow;
13
+
14
+ if ( 'index.php' === $pagenow && veu_package_is_enable( 'vk-blocks' ) ) {
15
+
16
+ // 既に有効化されている場合は表示しない
17
+ // → 本来ははプラグイン側が有効化されてたらExUnitの方は停止されるのでここを追加しない
18
+ // → と、言いたい所だがExUnitとプラグインの VK Blocks が同時に有効化されているケースが未だにある
19
+ // → けれど、プラグイン側が有効化されていようが ExUnit の VK Blocks がアクティブな場合は問答無用で表示させるべき
20
+ // → return しない
21
+ // if ( is_plugin_active('vk-blocks') || is_plugin_active('vk-blocks-pro' ) ){
22
+ // return;
23
+ // }
24
+
25
+ // プラグイン有効化権限がない人にも表示しない
26
+ // → 権限がある人に連絡してもらわないといけないから表示まま
27
+ // if ( ! current_user_can( 'activate_plugins' ) ) {
28
+ // return;
29
+ // }
30
+
31
+ // このメッセージを表示したくない人は VK Blocks を停止すれば良いので、特別な停止処理は不要
32
+
33
+ $text = '<div class="notice notice-info"><p>';
34
+ $text .= '<strong>ExUnit : </strong> ';
35
+ $text .= __( 'VK Blocks in ExUnit will be deleted soon.', 'vk-all-in-one-expansion-unit' ).'</p>';
36
+ $text .= '<ol>';
37
+
38
+ // プラグイン版が有効化されているのに ExUnit の VK Blocks も有効化されたままのケースがあるため
39
+ // プラグイン版が既に有効化されている場合はインストールを促さないように処理追加
40
+ if ( ! is_plugin_active('vk-blocks') && ! is_plugin_active('vk-blocks-pro' ) ){
41
+ $text .= '<li>';
42
+ $text .= __( 'Please install VK Blocks Plugin.', 'vk-all-in-one-expansion-unit' ) . ' ';
43
+ $text .= '[ <a href="' . admin_url('plugin-install.php?s=VK+Blocks&tab=search&type=term') . '">' . __( 'Install VK Blocks', 'vk-all-in-one-expansion-unit' ) . '</a> ]';
44
+ $text .= '</li>';
45
+ }
46
+
47
+ $text .= '<li>';
48
+ $text .= __( 'Deactive VK Blocks at ExUnit', 'vk-all-in-one-expansion-unit' ) . ' ';
49
+ $text .= '[ <a href="' . admin_url('?page=vkExUnit_setting_page') . '" target="_blank">' . __( 'Active Setting', 'vk-all-in-one-expansion-unit' ) . '</a> ]<br>';
50
+ $text .= __( '* Normally if VK Blocks plugin activate that VK Blocks in ExUnit is deactivated automatically.', 'vk-all-in-one-expansion-unit' );
51
+ $text .= '</li>';
52
+
53
+ $text .= '</ol>';
54
+ $text .= '</div>';
55
+ echo $text;
56
+ }
57
+ }
58
+ add_action( 'admin_notices', 'veu_block_deprecated_alart' );
59
+
60
  global $common_attributes;
61
  $common_attributes = array(
62
  'vkb_hidden' => array(
inc/pagetop-btn/pagetop-btn.php CHANGED
@@ -40,7 +40,7 @@ function veu_customize_register_pagetop( $wp_customize ) {
40
  $wp_customize->add_control(
41
  'vkExUnit_pagetop[hide_mobile]',
42
  array(
43
- 'label' => __( 'Do not display on mobile device', 'vk-all-in-one-expansion-unit' ),
44
  'section' => 'veu_pagetop_setting',
45
  'settings' => 'vkExUnit_pagetop[hide_mobile]',
46
  'type' => 'checkbox',
@@ -54,4 +54,57 @@ function veu_customize_register_pagetop( $wp_customize ) {
54
  )
55
  );
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
40
  $wp_customize->add_control(
41
  'vkExUnit_pagetop[hide_mobile]',
42
  array(
43
+ 'label' => __( 'Do not display on touch screen devices', 'vk-all-in-one-expansion-unit' ),
44
  'section' => 'veu_pagetop_setting',
45
  'settings' => 'vkExUnit_pagetop[hide_mobile]',
46
  'type' => 'checkbox',
54
  )
55
  );
56
 
57
+ }
58
+
59
+
60
+ /**
61
+ * ExUnitの機能管理パッケージに登録
62
+ * @return [type] [description]
63
+ */
64
+ function veu_pagetop_admin_register() {
65
+ $tab_label = __( 'Page Top Button', 'vk-all-in-one-expansion-unit' );
66
+ $option_name = 'vkExUnit_pagetop';
67
+ $sanitize_callback = 'veu_pagetop_sanitize';
68
+ $render_page = 'veu_pagetop_admin';
69
+ vkExUnit_register_setting( $tab_label, $option_name, $sanitize_callback, $render_page );
70
+ }
71
+ add_action( 'veu_package_init', 'veu_pagetop_admin_register' );
72
+
73
+ function veu_pagetop_admin() {
74
+ $options = veu_pagetop_options();
75
+ ?>
76
+ <div id="seoSetting" class="sectionBox">
77
+ <h3><?php _e( 'Page Top Button', 'vk-all-in-one-expansion-unit' ); ?></h3>
78
+ <table class="form-table">
79
+ <!-- Google Analytics -->
80
+ <tr>
81
+ <th><?php _e( 'Page Top Button', 'vk-all-in-one-expansion-unit' ); ?> </th>
82
+ <td>
83
+ <input type="checkbox" name="vkExUnit_pagetop[hide_mobile]" value="true"<?php if( ! empty( $options['hide_mobile'] ) ) echo ' checked'; ?> /> <?php _e( 'Do not display on touch screen devices', 'vk-all-in-one-expansion-unit' ); ?>
84
+ </td>
85
+ </tr>
86
+ </table>
87
+ <?php submit_button(); ?>
88
+ </div>
89
+ <?php
90
+ }
91
+
92
+
93
+ function veu_pagetop_options() {
94
+ $options = get_option( 'vkExUnit_pagetop', array() );
95
+ $options = wp_parse_args( $options, veu_pagetop_default() );
96
+ return $options;
97
+ }
98
+
99
+ function veu_pagetop_default() {
100
+ $default_options = array(
101
+ 'hide_mobile' => false,
102
+ );
103
+ return apply_filters( 'vkExUnit_wp_title_default', $default_options );
104
+ }
105
+
106
+ function veu_pagetop_sanitize( $input ) {
107
+ $output = array();
108
+ $output['hide_mobile'] = esc_attr( $input['hide_mobile'] );
109
+ return $output;
110
  }
inc/sns/function_og.php CHANGED
@@ -79,6 +79,14 @@ function vkExUnit_print_og() {
79
  'height' => $image_url[2],
80
  );
81
  }
 
 
 
 
 
 
 
 
82
  }
83
 
84
  // image:width,image:height INSERT
79
  'height' => $image_url[2],
80
  );
81
  }
82
+ } elseif ( isset( $vkExUnit_sns_options['ogImage'] ) && $vkExUnit_sns_options['ogImage'] ) {
83
+ $vkExUnitOGP .= '<meta property="og:image" content="' . esc_url( $vkExUnit_sns_options['ogImage'] ) . '" />' . "\n";
84
+
85
+ // image:width,image:height INSERT
86
+ $addImageTag = array(
87
+ 'type' => 'url',
88
+ 'url' => $vkExUnit_sns_options['ogImage'],
89
+ );
90
  }
91
 
92
  // image:width,image:height INSERT
inc/sns/function_twitterCard.php CHANGED
@@ -18,9 +18,23 @@ function vkExUnit_add_twitterCard() {
18
  $linkUrl = ( is_front_page() ) ? home_url() : get_permalink();
19
  // image
20
  if ( ( is_single() || is_page() ) && has_post_thumbnail() ) {
21
- $image_id = get_post_thumbnail_id();
22
- $image_url = wp_get_attachment_image_src( $image_id, 'large', true );
23
- $card_image_url = $image_url[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  } else {
25
  $card_image_url = ( isset( $vkExUnit_sns_options['ogImage'] ) ) ? $vkExUnit_sns_options['ogImage'] : '';
26
  }
18
  $linkUrl = ( is_front_page() ) ? home_url() : get_permalink();
19
  // image
20
  if ( ( is_single() || is_page() ) && has_post_thumbnail() ) {
21
+ $image_id = get_post_thumbnail_id();
22
+ $image_default_id = '';
23
+
24
+ if ( veu_package_is_enable( 'default_thumbnail' ) ) {
25
+ $image_option = get_option( 'veu_defualt_thumbnail' );
26
+ $image_default_id = ! empty( $image_option['default_thumbnail_image'] ) ? $image_option['default_thumbnail_image'] : '';
27
+ }
28
+
29
+ if ( ! empty( $image_id ) ) {
30
+ $image_url = wp_get_attachment_image_src( $image_id, 'large', true );
31
+ $card_image_url = $image_url[0];
32
+ } elseif ( isset( $vkExUnit_sns_options['ogImage'] ) && $vkExUnit_sns_options['ogImage'] ) {
33
+ $card_image_url = $vkExUnit_sns_options['ogImage'];
34
+ } elseif ( ! empty( $image_default_id ) ) {
35
+ $image_url = wp_get_attachment_image_src( $image_default_id, 'large', true );
36
+ $card_image_url = $image_url[0];
37
+ }
38
  } else {
39
  $card_image_url = ( isset( $vkExUnit_sns_options['ogImage'] ) ) ? $vkExUnit_sns_options['ogImage'] : '';
40
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
- Contributors: vektor-inc,kurudrive,nc30,SaoriMiyazaki,catherine8007,naoki0h,rickaddison7634
3
  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.5.1
7
- Stable tag: 9.35.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -99,6 +99,12 @@ e.g.
99
 
100
  == Changelog ==
101
 
 
 
 
 
 
 
102
  = 9.35.0.0 =
103
  [ Specification Change ][ post type manager ] max taxonomy change from 3 to 5
104
 
1
  === Plugin Name ===
2
+ Contributors: vektor-inc,kurudrive,nc30,SaoriMiyazaki,catherine8007,naoki0h,rickaddison7634,una9,kaorock72
3
  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.5.1
7
+ Stable tag: 9.36.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
99
 
100
  == Changelog ==
101
 
102
+ = 9.36.1.0 =
103
+ [ bug fix ][ SNS/OG ] Fix print default image
104
+
105
+ = 9.36.0.0 =
106
+ [ other ][ page top button ] add setting to ExUnit Main Setting screen
107
+
108
  = 9.35.0.0 =
109
  [ Specification Change ][ post type manager ] max taxonomy change from 3 to 5
110
 
veu-packages.php CHANGED
@@ -443,6 +443,13 @@ function veu_get_packages() {
443
  'description' => __( 'The page top button is displayed in the lower right corner of the screen.', 'vk-all-in-one-expansion-unit' ),
444
  'default' => false,
445
  'include' => 'pagetop-btn/pagetop-btn.php',
 
 
 
 
 
 
 
446
  );
447
 
448
  /*
443
  'description' => __( 'The page top button is displayed in the lower right corner of the screen.', 'vk-all-in-one-expansion-unit' ),
444
  'default' => false,
445
  'include' => 'pagetop-btn/pagetop-btn.php',
446
+ 'attr' => array(
447
+ array(
448
+ 'name' => __( 'Setting', 'vk-all-in-one-expansion-unit' ),
449
+ 'url' => admin_url() . 'admin.php?page=vkExUnit_main_setting#vkExUnit_pagetop',
450
+ 'enable_only' => true,
451
+ ),
452
+ ),
453
  );
454
 
455
  /*
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.35.0.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.36.1.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages