VK All in One Expansion Unit - Version 7.0.1

Version Description

  • [ bug fix ][ Page Top Button ] js error fixed.
Download this release

Release Info

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

Code changes from version 7.0.0 to 7.0.1

js/all.js CHANGED
@@ -253,6 +253,7 @@ $('a[href^="#"]').click(function() {
253
  /* scroll
254
  /*----------------------------------------------------------*/
255
  // Scroll function
 
256
  $(window).scroll(function() {
257
  var scroll = $(this).scrollTop();
258
  if ($(this).scrollTop() > 1) {
@@ -261,3 +262,4 @@ $(window).scroll(function() {
261
  $('body').removeClass('scrolled');
262
  }
263
  });
 
253
  /* scroll
254
  /*----------------------------------------------------------*/
255
  // Scroll function
256
+ (function($) {
257
  $(window).scroll(function() {
258
  var scroll = $(this).scrollTop();
259
  if ($(this).scrollTop() > 1) {
262
  $('body').removeClass('scrolled');
263
  }
264
  });
265
+ })(jQuery);
js/all.min.js CHANGED
@@ -5,4 +5,4 @@ var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'ht
5
  $('body,html').animate({scrollTop:position},speed,'swing');return false;})})(jQuery);(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
6
  var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
7
  var pocket={init:function(){$.ajax({url:vkExOpt.ajax_url,type:'POST',data:{'action':'vkex_pocket_tunnel','linkurl':linkurl},dataType:'html',success:function(response){var count=$(response).find("#cnt").html();if(count===undefined)return;socials.find('.veu_count_sns_pocket').html(count);}})}}
8
- facebook.init();hatena.init();pocket.init();})(jQuery);;(function($,d){var a=false,b='',c='',f=function(){if(a){a=false;c.show();b.removeClass('active');}else{a=true;c.hide();b.addClass('active');}};$(d).ready(function(){b=$('#wp-admin-bar-veu_disable_admin_edit .ab-item').on('click',f);c=$('.veu_adminEdit');});})(jQuery,document);$(window).scroll(function(){var scroll=$(this).scrollTop();if($(this).scrollTop()>1){$('body').addClass('scrolled');}else{$('body').removeClass('scrolled');}});
5
  $('body,html').animate({scrollTop:position},speed,'swing');return false;})})(jQuery);(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
6
  var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
7
  var pocket={init:function(){$.ajax({url:vkExOpt.ajax_url,type:'POST',data:{'action':'vkex_pocket_tunnel','linkurl':linkurl},dataType:'html',success:function(response){var count=$(response).find("#cnt").html();if(count===undefined)return;socials.find('.veu_count_sns_pocket').html(count);}})}}
8
+ facebook.init();hatena.init();pocket.init();})(jQuery);;(function($,d){var a=false,b='',c='',f=function(){if(a){a=false;c.show();b.removeClass('active');}else{a=true;c.hide();b.addClass('active');}};$(d).ready(function(){b=$('#wp-admin-bar-veu_disable_admin_edit .ab-item').on('click',f);c=$('.veu_adminEdit');});})(jQuery,document);(function($){$(window).scroll(function(){var scroll=$(this).scrollTop();if($(this).scrollTop()>1){$('body').addClass('scrolled');}else{$('body').removeClass('scrolled');}});})(jQuery);
plugins/pagetop-btn/js/pagetop-btn.js CHANGED
@@ -2,6 +2,7 @@
2
  /* scroll
3
  /*----------------------------------------------------------*/
4
  // Scroll function
 
5
  $(window).scroll(function() {
6
  var scroll = $(this).scrollTop();
7
  if ($(this).scrollTop() > 1) {
@@ -10,3 +11,4 @@ $(window).scroll(function() {
10
  $('body').removeClass('scrolled');
11
  }
12
  });
 
2
  /* scroll
3
  /*----------------------------------------------------------*/
4
  // Scroll function
5
+ (function($) {
6
  $(window).scroll(function() {
7
  var scroll = $(this).scrollTop();
8
  if ($(this).scrollTop() > 1) {
11
  $('body').removeClass('scrolled');
12
  }
13
  });
14
+ })(jQuery);
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: 5.0.2
7
- Stable tag: 7.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -80,6 +80,9 @@ e.g.
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 7.0.0 =
84
  * [ Specification change ][ vk_get_page_description ] delete do_shortcode 6 movt escape point.
85
  * [ Specification change ][ Page Top Button ] Change system.
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: 5.0.2
7
+ Stable tag: 7.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
80
 
81
  == Changelog ==
82
 
83
+ = 7.0.1 =
84
+ * [ bug fix ][ Page Top Button ] js error fixed.
85
+
86
  = 7.0.0 =
87
  * [ Specification change ][ vk_get_page_description ] delete do_shortcode 6 movt escape point.
88
  * [ Specification change ][ Page Top Button ] Change system.
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: 7.0.0
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: 7.0.1
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages