VK All in One Expansion Unit - Version 9.73.1.0

Version Description

  • [ Bug fix ] Fix admin escape
Download this release

Release Info

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

Code changes from version 9.73.0.1 to 9.73.1.0

inc/call-to-action/package/class-vk-call-to-action.php CHANGED
@@ -586,7 +586,7 @@ if ( ! class_exists( 'Vk_Call_To_Action' ) ) {
586
  $option[ $key ] = 'random';
587
  } else {
588
  if ( 'hook_point' === $key ) {
589
- $option[ $key ] = sanitize_text_field( $value );
590
  } else {
591
  $option[ $key ] = ( is_numeric( $value ) ) ? $value : 0;
592
  }
586
  $option[ $key ] = 'random';
587
  } else {
588
  if ( 'hook_point' === $key ) {
589
+ $option[ $key ] = stripslashes( sanitize_text_field( $value ) );
590
  } else {
591
  $option[ $key ] = ( is_numeric( $value ) ) ? $value : 0;
592
  }
inc/contact-section/contact-section.php CHANGED
@@ -295,6 +295,15 @@ class VkExUnit_Contact {
295
  }
296
 
297
  public function option_sanitaize( $option ) {
 
 
 
 
 
 
 
 
 
298
  $option['contact_html'] = stripslashes( $option['contact_html'] );
299
  return $option;
300
  }
295
  }
296
 
297
  public function option_sanitaize( $option ) {
298
+ $option['contact_txt'] = stripslashes( $option['contact_txt'] );
299
+ $option['tel_number'] = stripslashes( $option['tel_number'] );
300
+ $option['tel_icon'] = stripslashes( $option['tel_icon'] );
301
+ $option['contact_time'] = stripslashes( $option['contact_time'] );
302
+ $option['contact_link'] = stripslashes( $option['contact_link'] );
303
+ $option['button_text'] = stripslashes( $option['button_text'] );
304
+ $option['button_text_small'] = stripslashes( $option['button_text_small'] );
305
+ $option['short_text'] = stripslashes( $option['short_text'] );
306
+ $option['contact_image'] = esc_url( $option['contact_image'] );
307
  $option['contact_html'] = stripslashes( $option['contact_html'] );
308
  return $option;
309
  }
inc/google_analytics/google_analytics.php CHANGED
@@ -55,7 +55,7 @@ function vkExUnit_ga_options_validate( $input ) {
55
  $input = wp_parse_args( $input, $defaults );
56
 
57
  // 入力値をサニタイズ
58
- $output['gaId'] = esc_html( $input['gaId'] );
59
  $output['gaType'] = esc_html( $input['gaType'] );
60
 
61
  return apply_filters( 'vkExUnit_ga_options_validate', $output, $input, $defaults );
55
  $input = wp_parse_args( $input, $defaults );
56
 
57
  // 入力値をサニタイズ
58
+ $output['gaId'] = stripslashes( esc_html( $input['gaId'] ) );
59
  $output['gaType'] = esc_html( $input['gaType'] );
60
 
61
  return apply_filters( 'vkExUnit_ga_options_validate', $output, $input, $defaults );
inc/insert-ads.php CHANGED
@@ -147,7 +147,7 @@ class vExUnit_Ads {
147
  $option = $input;
148
  $option['google-ads-active'] = ( isset( $input['google-ads-active'] ) ) ? esc_attr( $input['google-ads-active'] ) : '';
149
  $option['google-ads-overlays-bottom'] = ( isset( $input['google-ads-overlays-bottom'] ) ) ? esc_attr( $input['google-ads-overlays-bottom'] ) : '';
150
- $option['google-pub-id'] = ( isset( $input['google-pub-id'] ) ) ? esc_attr( $input['google-pub-id'] ) : '';
151
  $option['before'][0] = stripslashes( $input['before'][0] );
152
  $option['before'][1] = stripslashes( $input['before'][1] );
153
  $option['more'][0] = stripslashes( $input['more'][0] );
147
  $option = $input;
148
  $option['google-ads-active'] = ( isset( $input['google-ads-active'] ) ) ? esc_attr( $input['google-ads-active'] ) : '';
149
  $option['google-ads-overlays-bottom'] = ( isset( $input['google-ads-overlays-bottom'] ) ) ? esc_attr( $input['google-ads-overlays-bottom'] ) : '';
150
+ $option['google-pub-id'] = ( isset( $input['google-pub-id'] ) ) ? stripslashes( esc_attr( $input['google-pub-id'] ) ) : '';
151
  $option['before'][0] = stripslashes( $input['before'][0] );
152
  $option['before'][1] = stripslashes( $input['before'][1] );
153
  $option['more'][0] = stripslashes( $input['more'][0] );
inc/sns/sns.php CHANGED
@@ -252,11 +252,11 @@ function veu_get_the_sns_title( $post_id = '' ) {
252
  function vkExUnit_sns_options_validate( $input ) {
253
  $output = $defaults = veu_get_sns_options_default();
254
 
255
- $output['fbAppId'] = esc_attr( $input['fbAppId'] );
256
  $output['fbPageUrl'] = esc_url( $input['fbPageUrl'] );
257
- $output['fbAccessToken'] = esc_attr( $input['fbAccessToken'] );
258
  $output['ogImage'] = esc_url( $input['ogImage'] );
259
- $output['twitterId'] = esc_attr( $input['twitterId'] );
260
  $output['snsBtn_ignorePosts'] = preg_replace( '/[^0-9,]/', '', $input['snsBtn_ignorePosts'] );
261
  $output['snsTitle_use_only_postTitle'] = ( isset( $input['snsTitle_use_only_postTitle'] ) && $input['snsTitle_use_only_postTitle'] ) ? true : false;
262
  $output['enableOGTags'] = ( isset( $input['enableOGTags'] ) && $input['enableOGTags'] ) ? true : false;
@@ -265,7 +265,7 @@ function vkExUnit_sns_options_validate( $input ) {
265
  $output['snsBtn_exclude_post_types'] = ( isset( $input['snsBtn_exclude_post_types'] ) ) ? $input['snsBtn_exclude_post_types'] : '';
266
  $output['snsBtn_position'] = ( isset( $input['snsBtn_position'] ) ) ? $input['snsBtn_position'] : '';
267
  $output['enableFollowMe'] = ( isset( $input['enableFollowMe'] ) && $input['enableFollowMe'] ) ? true : false;
268
- $output['followMe_title'] = $input['followMe_title'];
269
  $output['useFacebook'] = ( isset( $input['useFacebook'] ) && $input['useFacebook'] == 'true' );
270
  $output['useTwitter'] = ( isset( $input['useTwitter'] ) && $input['useTwitter'] == 'true' );
271
  $output['useHatena'] = ( isset( $input['useHatena'] ) && $input['useHatena'] == 'true' );
252
  function vkExUnit_sns_options_validate( $input ) {
253
  $output = $defaults = veu_get_sns_options_default();
254
 
255
+ $output['fbAppId'] = stripslashes( esc_attr( $input['fbAppId'] ) );
256
  $output['fbPageUrl'] = esc_url( $input['fbPageUrl'] );
257
+ $output['fbAccessToken'] = stripslashes( esc_attr( $input['fbAccessToken'] ) );
258
  $output['ogImage'] = esc_url( $input['ogImage'] );
259
+ $output['twitterId'] = stripslashes( esc_attr( $input['twitterId'] ) );
260
  $output['snsBtn_ignorePosts'] = preg_replace( '/[^0-9,]/', '', $input['snsBtn_ignorePosts'] );
261
  $output['snsTitle_use_only_postTitle'] = ( isset( $input['snsTitle_use_only_postTitle'] ) && $input['snsTitle_use_only_postTitle'] ) ? true : false;
262
  $output['enableOGTags'] = ( isset( $input['enableOGTags'] ) && $input['enableOGTags'] ) ? true : false;
265
  $output['snsBtn_exclude_post_types'] = ( isset( $input['snsBtn_exclude_post_types'] ) ) ? $input['snsBtn_exclude_post_types'] : '';
266
  $output['snsBtn_position'] = ( isset( $input['snsBtn_position'] ) ) ? $input['snsBtn_position'] : '';
267
  $output['enableFollowMe'] = ( isset( $input['enableFollowMe'] ) && $input['enableFollowMe'] ) ? true : false;
268
+ $output['followMe_title'] = stripslashes( $input['followMe_title'] );
269
  $output['useFacebook'] = ( isset( $input['useFacebook'] ) && $input['useFacebook'] == 'true' );
270
  $output['useTwitter'] = ( isset( $input['useTwitter'] ) && $input['useTwitter'] == 'true' );
271
  $output['useHatena'] = ( isset( $input['useHatena'] ) && $input['useHatena'] == 'true' );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Fa
5
  Requires at least: 5.3.0
6
  Tested up to: 5.9.1
7
  Requires PHP: 7.0
8
- Stable tag: 9.73.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -81,6 +81,9 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 9.73.0.0 =
85
  * [ Add function ] Cope with font awesome 6
86
  * [ Bug fix ][ title ] Fix admin title escape
5
  Requires at least: 5.3.0
6
  Tested up to: 5.9.1
7
  Requires PHP: 7.0
8
+ Stable tag: 9.73.1.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
81
 
82
  == Changelog ==
83
 
84
+ = 9.73.1.0 =
85
+ * [ Bug fix ] Fix admin escape
86
+
87
  = 9.73.0.0 =
88
  * [ Add function ] Cope with font awesome 6
89
  * [ Bug fix ][ title ] Fix admin title escape
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit47054f11878344164d2bddb067080b97::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit7a06128e0ad07a8dcf339c6d44f1c2b6::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit47054f11878344164d2bddb067080b97
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit47054f11878344164d2bddb067080b97
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit47054f11878344164d2bddb067080b97', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit47054f11878344164d2bddb067080b97', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit47054f11878344164d2bddb067080b97::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit7a06128e0ad07a8dcf339c6d44f1c2b6
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit7a06128e0ad07a8dcf339c6d44f1c2b6', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit7a06128e0ad07a8dcf339c6d44f1c2b6', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit7a06128e0ad07a8dcf339c6d44f1c2b6::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit47054f11878344164d2bddb067080b97
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
@@ -40,9 +40,9 @@ class ComposerStaticInit47054f11878344164d2bddb067080b97
40
  public static function getInitializer(ClassLoader $loader)
41
  {
42
  return \Closure::bind(function () use ($loader) {
43
- $loader->prefixLengthsPsr4 = ComposerStaticInit47054f11878344164d2bddb067080b97::$prefixLengthsPsr4;
44
- $loader->prefixDirsPsr4 = ComposerStaticInit47054f11878344164d2bddb067080b97::$prefixDirsPsr4;
45
- $loader->classMap = ComposerStaticInit47054f11878344164d2bddb067080b97::$classMap;
46
 
47
  }, null, ClassLoader::class);
48
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7a06128e0ad07a8dcf339c6d44f1c2b6
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
40
  public static function getInitializer(ClassLoader $loader)
41
  {
42
  return \Closure::bind(function () use ($loader) {
43
+ $loader->prefixLengthsPsr4 = ComposerStaticInit7a06128e0ad07a8dcf339c6d44f1c2b6::$prefixLengthsPsr4;
44
+ $loader->prefixDirsPsr4 = ComposerStaticInit7a06128e0ad07a8dcf339c6d44f1c2b6::$prefixDirsPsr4;
45
+ $loader->classMap = ComposerStaticInit7a06128e0ad07a8dcf339c6d44f1c2b6::$classMap;
46
 
47
  }, null, ClassLoader::class);
48
  }
vendor/composer/installed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => '9.73.0.1',
4
- 'version' => '9.73.0.1',
5
  'type' => 'project',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'd8dbae9e68795827cc0c50f7eaabd92958b00db1',
9
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
10
  'dev' => false,
11
  ),
@@ -20,12 +20,12 @@
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
- 'pretty_version' => '9.73.0.1',
24
- 'version' => '9.73.0.1',
25
  'type' => 'project',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
- 'reference' => 'd8dbae9e68795827cc0c50f7eaabd92958b00db1',
29
  'dev_requirement' => false,
30
  ),
31
  'vektor-inc/vk-breadcrumb' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => '9.73.1.0',
4
+ 'version' => '9.73.1.0',
5
  'type' => 'project',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '616b2865695dc23457eb50d86d935b6bbaa70ace',
9
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
10
  'dev' => false,
11
  ),
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
+ 'pretty_version' => '9.73.1.0',
24
+ 'version' => '9.73.1.0',
25
  'type' => 'project',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
+ 'reference' => '616b2865695dc23457eb50d86d935b6bbaa70ace',
29
  'dev_requirement' => false,
30
  ),
31
  'vektor-inc/vk-breadcrumb' => array(
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.73.0.1
7
  * Requires PHP: 7.0
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit
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.73.1.0
7
  * Requires PHP: 7.0
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit