VK All in One Expansion Unit - Version 6.6.3

Version Description

  • [ Profile Widget ][ bug fix ] Font Awesome 5 RSS icon bug fix
  • [ PAGETOP BTN ] Change init name
  • [ Font Awesome ] Change default version to 5
Download this release

Release Info

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

Code changes from version 6.6.2 to 6.6.3

plugins/font-awesome-config.php CHANGED
@@ -8,8 +8,8 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
8
  global $font_awesome_directory_uri;
9
  $font_awesome_directory_uri = plugins_url( '', __FILE__ ) . '/font-awesome/';
10
 
11
- global $vk_font_awesome_version_textdomain;
12
- $vk_font_awesome_version_textdomain = 'vkExUnit';
13
 
14
  global $set_enqueue_handle_style;
15
  $set_enqueue_handle_style = 'vkExUnit_common_style';
8
  global $font_awesome_directory_uri;
9
  $font_awesome_directory_uri = plugins_url( '', __FILE__ ) . '/font-awesome/';
10
 
11
+ global $vk_font_awesome_version_prefix;
12
+ $vk_font_awesome_version_prefix = veu_get_short_name() . ' ';
13
 
14
  global $set_enqueue_handle_style;
15
  $set_enqueue_handle_style = 'vkExUnit_common_style';
plugins/font-awesome/class-vk-font-awesome-versions.php CHANGED
@@ -4,7 +4,7 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
4
 
5
  class Vk_Font_Awesome_Versions {
6
 
7
- private static $version_default = '4.7';
8
 
9
  static function init() {
10
  add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
@@ -16,10 +16,9 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
16
 
17
  static function versions() {
18
  global $font_awesome_directory_uri;
19
- global $vk_font_awesome_version_textdomain;
20
  $versions = array(
21
  '5.0_SVG_JS' => array(
22
- 'label' => '5.0 SVG with JS ( ' . __( 'Not recommended', $vk_font_awesome_version_textdomain ) . ' )',
23
  'version' => '5.0',
24
  'type' => 'svg-with-js',
25
  'url_css' => $font_awesome_directory_uri . 'versions/5.0.13/web-fonts-with-css/css/fontawesome-all.min.css',
@@ -51,12 +50,11 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
51
  }
52
 
53
  public static function ex_and_link() {
54
- global $vk_font_awesome_version_textdomain;
55
  $current = self::current_info();
56
  if ( $current['version'] == '5.0' ) {
57
- $ex_and_link = '<strong>Font Awesome 5</strong><br>' . __( 'Ex ) ', $vk_font_awesome_version_textdomain ) . 'far fa-file-alt [ <a href="//fontawesome.com/icons?d=gallery&m=free" target="_blank">Icon list</a> ]';
58
  } else {
59
- $ex_and_link = '<strong>Font Awesome 4.7</strong><br>' . __( 'Ex ) ', $vk_font_awesome_version_textdomain ) . 'fa-file-text-o [ <a href="//fontawesome.com/v4.7.0/icons/" target="_blank">Icon list</a> ]';
60
  }
61
  return $ex_and_link;
62
  }
@@ -147,11 +145,12 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
147
  /*-------------------------------------------*/
148
  static function customize_register( $wp_customize ) {
149
 
150
- global $vk_font_awesome_version_textdomain;
151
 
152
  $wp_customize->add_section(
153
  'VK Font Awesome', array(
154
- 'title' => __( 'Font Awesome', $vk_font_awesome_version_textdomain ),
 
155
  )
156
  );
157
 
@@ -171,10 +170,10 @@ if ( ! class_exists( 'Vk_Font_Awesome_Versions' ) ) {
171
 
172
  $wp_customize->add_control(
173
  'vk_font_awesome_version', array(
174
- 'label' => __( 'Font Awesome Version', $vk_font_awesome_version_textdomain ),
175
  'section' => 'VK Font Awesome',
176
  'settings' => 'vk_font_awesome_version',
177
- 'description' => __( '4.7 will be abolished in the near future.', $vk_font_awesome_version_textdomain ),
178
  'type' => 'select',
179
  'priority' => '',
180
  'choices' => $choices,
4
 
5
  class Vk_Font_Awesome_Versions {
6
 
7
+ private static $version_default = '5.0_WebFonts_CSS';
8
 
9
  static function init() {
10
  add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
16
 
17
  static function versions() {
18
  global $font_awesome_directory_uri;
 
19
  $versions = array(
20
  '5.0_SVG_JS' => array(
21
+ 'label' => '5.0 SVG with JS ( ' . __( 'Not recommended', 'vkExUnit' ) . ' )',
22
  'version' => '5.0',
23
  'type' => 'svg-with-js',
24
  'url_css' => $font_awesome_directory_uri . 'versions/5.0.13/web-fonts-with-css/css/fontawesome-all.min.css',
50
  }
51
 
52
  public static function ex_and_link() {
 
53
  $current = self::current_info();
54
  if ( $current['version'] == '5.0' ) {
55
+ $ex_and_link = '<strong>Font Awesome 5</strong><br>' . __( 'Ex ) ', 'vkExUnit' ) . 'far fa-file-alt [ <a href="//fontawesome.com/icons?d=gallery&m=free" target="_blank">Icon list</a> ]';
56
  } else {
57
+ $ex_and_link = '<strong>Font Awesome 4.7</strong><br>' . __( 'Ex ) ', 'vkExUnit' ) . 'fa-file-text-o [ <a href="//fontawesome.com/v4.7.0/icons/" target="_blank">Icon list</a> ]';
58
  }
59
  return $ex_and_link;
60
  }
145
  /*-------------------------------------------*/
146
  static function customize_register( $wp_customize ) {
147
 
148
+ global $vk_font_awesome_version_prefix;
149
 
150
  $wp_customize->add_section(
151
  'VK Font Awesome', array(
152
+ 'title' => $vk_font_awesome_version_prefix . __( 'Font Awesome', 'vkExUnit' ),
153
+ 'priority' => 450,
154
  )
155
  );
156
 
170
 
171
  $wp_customize->add_control(
172
  'vk_font_awesome_version', array(
173
+ 'label' => __( 'Font Awesome Version', 'vkExUnit' ),
174
  'section' => 'VK Font Awesome',
175
  'settings' => 'vk_font_awesome_version',
176
+ 'description' => __( '4.7 will be abolished in the near future.', 'vkExUnit' ),
177
  'type' => 'select',
178
  'priority' => '',
179
  'choices' => $choices,
plugins/other_widget/widget-profile.php CHANGED
@@ -174,13 +174,13 @@ $checked = ( ! isset( $instance['iconFont_bgType'] ) || ! $instance['iconFont_bg
174
  $instance['mediaRound'] = $new_instance['mediaRound'];
175
  $instance['mediaSize'] = $new_instance['mediaSize'];
176
  $instance['mediaFloat'] = $new_instance['mediaFloat'];
177
- $instance['facebook'] = $new_instance['facebook'];
178
- $instance['twitter'] = $new_instance['twitter'];
179
- $instance['mail'] = $new_instance['mail'];
180
- $instance['youtube'] = $new_instance['youtube'];
181
- $instance['rss'] = $new_instance['rss'];
182
- $instance['instagram'] = $new_instance['instagram'];
183
- $instance['linkedin'] = $new_instance['linkedin'];
184
  $instance['iconFont_bgType'] = $new_instance['iconFont_bgType'];
185
  $instance['icon_color'] = $new_instance['icon_color'];
186
  return $instance;
@@ -408,6 +408,8 @@ foreach ( $sns_names as $key => $sns_name ) {
408
  } else {
409
  if ( $sns_name == 'mail' ) {
410
  $sns_name_class = 'fas fa-envelope';
 
 
411
  } else {
412
  $sns_name_class = 'fab fa-' . $sns_name;
413
  }
174
  $instance['mediaRound'] = $new_instance['mediaRound'];
175
  $instance['mediaSize'] = $new_instance['mediaSize'];
176
  $instance['mediaFloat'] = $new_instance['mediaFloat'];
177
+ $instance['facebook'] = esc_url( $new_instance['facebook'] );
178
+ $instance['twitter'] = esc_url( $new_instance['twitter'] );
179
+ $instance['mail'] = esc_attr( $new_instance['mail'] );
180
+ $instance['youtube'] = esc_url( $new_instance['youtube'] );
181
+ $instance['rss'] = esc_url( $new_instance['rss'] );
182
+ $instance['instagram'] = esc_url( $new_instance['instagram'] );
183
+ $instance['linkedin'] = esc_url( $new_instance['linkedin'] );
184
  $instance['iconFont_bgType'] = $new_instance['iconFont_bgType'];
185
  $instance['icon_color'] = $new_instance['icon_color'];
186
  return $instance;
408
  } else {
409
  if ( $sns_name == 'mail' ) {
410
  $sns_name_class = 'fas fa-envelope';
411
+ } elseif ( $sns_name == 'rss' ) {
412
+ $sns_name_class = 'fas fa-rss';
413
  } else {
414
  $sns_name_class = 'fab fa-' . $sns_name;
415
  }
plugins/pagetop-btn/pagetop-btn.php CHANGED
@@ -2,7 +2,7 @@
2
  /*-------------------------------------------*/
3
  /* footer add pagetop btn
4
  /*-------------------------------------------*/
5
- add_action( 'wp_footer', 'ltg_add_pagetop' );
6
- function ltg_add_pagetop() {
7
  echo '<a href="#top" id="page_top" class="page_top_btn">PAGE TOP</a>';
8
  }
2
  /*-------------------------------------------*/
3
  /* footer add pagetop btn
4
  /*-------------------------------------------*/
5
+ add_action( 'wp_footer', 'veu_add_pagetop' );
6
+ function veu_add_pagetop() {
7
  echo '<a href="#top" id="page_top" class="page_top_btn">PAGE TOP</a>';
8
  }
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: 4.9.8
7
- Stable tag: 6.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -73,6 +73,11 @@ e.g.
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
76
  = 6.6.0 =
77
  * [ Custom CSS ][ Add Function ] Singlur page custom css
78
  * [ SNS Btn ][ bug fix ] No background count color fix
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: 4.9.8
7
+ Stable tag: 6.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
73
 
74
  == Changelog ==
75
 
76
+ = 6.6.3 =
77
+ * [ Profile Widget ][ bug fix ] Font Awesome 5 RSS icon bug fix
78
+ * [ PAGETOP BTN ] Change init name
79
+ * [ Font Awesome ] Change default version to 5
80
+
81
  = 6.6.0 =
82
  * [ Custom CSS ][ Add Function ] Singlur page custom css
83
  * [ SNS Btn ][ bug fix ] No background count color fix
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: 6.6.2
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: 6.6.3
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages