VK All in One Expansion Unit - Version 9.18.1.0

Version Description

[ bug fix ][ other widget ] bug fix of save all widget disable setting.

Download this release

Release Info

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

Code changes from version 9.18.0.2 to 9.18.1.0

inc/other-widget/class-veu-other-widget-admin-control.php CHANGED
@@ -2,25 +2,27 @@
2
 
3
  class VEU_Other_Widget_Admin_Control {
4
  function __construct() {
5
- add_action('admin_init', array($this, 'add_hooks'));
6
  }
7
 
8
  function add_hooks() {
9
- add_action( 'vew_admin_setting_block', array($this, 'admin_setting'), 10, 1);
10
- add_filter('vkExUnit_common_options_validate', array($this, 'admin_config_validate'), 10, 3);
11
  }
12
 
13
- public function admin_config_validate($output, $input, $defaults) {
14
  $_v = array();
15
- foreach($input['enable_widgets'] as $v ) {
16
- array_push($_v, $v);
 
 
17
  }
18
 
19
- VEU_Widget_Control::update_options($_v);
20
  return $output;
21
  }
22
 
23
- public function admin_setting($options) {
24
  include veu_get_directory() . '/inc/other-widget/template/admin_setting.php';
25
  }
26
  }
2
 
3
  class VEU_Other_Widget_Admin_Control {
4
  function __construct() {
5
+ add_action( 'admin_init', array( $this, 'add_hooks' ) );
6
  }
7
 
8
  function add_hooks() {
9
+ add_action( 'vew_admin_setting_block', array( $this, 'admin_setting' ), 10, 1 );
10
+ add_filter( 'vkExUnit_common_options_validate', array( $this, 'admin_config_validate' ), 10, 3 );
11
  }
12
 
13
+ public function admin_config_validate( $output, $input, $defaults ) {
14
  $_v = array();
15
+ if ( ! empty( $input['enable_widgets'] ) && is_array( $input['enable_widgets'] ) ) {
16
+ foreach ( $input['enable_widgets'] as $v ) {
17
+ array_push( $_v, $v );
18
+ }
19
  }
20
 
21
+ VEU_Widget_Control::update_options( $_v );
22
  return $output;
23
  }
24
 
25
+ public function admin_setting( $options ) {
26
  include veu_get_directory() . '/inc/other-widget/template/admin_setting.php';
27
  }
28
  }
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.4.0
7
- Stable tag: 9.18.0.2
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.18.0.0 =
97
  [ Add Function ][ Add block ] Contact Section
98
  [ Add Function ][ Add block ] Child Page Index
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.4.0
7
+ Stable tag: 9.18.1.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.18.1.0 =
97
+ [ bug fix ][ other widget ] bug fix of save all widget disable setting.
98
+
99
  = 9.18.0.0 =
100
  [ Add Function ][ Add block ] Contact Section
101
  [ Add Function ][ Add block ] Child Page Index
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.18.0.2
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.18.1.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages