VK All in One Expansion Unit - Version 3.9.1

Version Description

  • [ bug fix ][ titile tag ]
Download this release

Release Info

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

Code changes from version 3.9.0 to 3.9.1

Files changed (3) hide show
  1. plugins/sns/function_snsBtns.php +4 -4
  2. readme.txt +4 -1
  3. vkExUnit.php +1 -1
plugins/sns/function_snsBtns.php CHANGED
@@ -10,7 +10,7 @@ function vkExUnit_is_snsBtns_display(){
10
  if ( !isset( $options['snsBtn_ignorePosts'] ) ){
11
  return true;
12
  } else if ( isset( $options['snsBtn_ignorePosts'] ) && $options['snsBtn_ignorePosts'] == $post->ID ) {
13
- return false;
14
  } else if ( is_array( $ignorePosts ) && in_array( $post->ID, $ignorePosts ) ){
15
  return false;
16
  } else {
@@ -39,9 +39,9 @@ function vkExUnit_add_snsBtns( $content ) {
39
  $pageTitle = get_post_meta( get_the_id(), 'vkExUnit_sns_title', true );
40
  }
41
  if ( ! $pageTitle ) {
42
- $pageTitle = urlencode( vkExUnit_get_wp_head_title() );
43
  }
44
-
45
  if ( vkExUnit_is_snsBtns_display() ) {
46
  $socialSet = '<div class="veu_socialSet veu_contentAddSection"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script><ul>';
47
  // facebook
@@ -61,7 +61,7 @@ function vkExUnit_add_snsBtns( $content ) {
61
  $socialSet .= '</ul></div><!-- [ /.socialSet ] -->';
62
  $content .= $socialSet;
63
  } // if ( !isset( $options['snsBtn_ignorePosts'] ) || $options['snsBtn_ignorePosts'] != $post->ID ) {
64
-
65
  endif;
66
  return $content;
67
  }
10
  if ( !isset( $options['snsBtn_ignorePosts'] ) ){
11
  return true;
12
  } else if ( isset( $options['snsBtn_ignorePosts'] ) && $options['snsBtn_ignorePosts'] == $post->ID ) {
13
+ return false;
14
  } else if ( is_array( $ignorePosts ) && in_array( $post->ID, $ignorePosts ) ){
15
  return false;
16
  } else {
39
  $pageTitle = get_post_meta( get_the_id(), 'vkExUnit_sns_title', true );
40
  }
41
  if ( ! $pageTitle ) {
42
+ $pageTitle = urlencode( strip_tags( wp_title( '', false ) ) );
43
  }
44
+
45
  if ( vkExUnit_is_snsBtns_display() ) {
46
  $socialSet = '<div class="veu_socialSet veu_contentAddSection"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script><ul>';
47
  // facebook
61
  $socialSet .= '</ul></div><!-- [ /.socialSet ] -->';
62
  $content .= $socialSet;
63
  } // if ( !isset( $options['snsBtn_ignorePosts'] ) || $options['snsBtn_ignorePosts'] != $post->ID ) {
64
+
65
  endif;
66
  return $content;
67
  }
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.2
6
  Tested up to: 4.5.2
7
- Stable tag: 3.9.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,9 @@ e.g.
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 3.9.0 =
75
  * [ Add Function ][ titile tag ] The ability to customize the title tag of homepage.
76
 
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.2
6
  Tested up to: 4.5.2
7
+ Stable tag: 3.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 3.9.1 =
75
+ * [ bug fix ][ titile tag ]
76
+
77
  = 3.9.0 =
78
  * [ Add Function ][ titile tag ] The ability to customize the title tag of homepage.
79
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: VK All in One Expansion Unit
4
  Plugin URI: http://ex-unit.vektor-inc.co.jp
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: 3.9.0
7
  Author: Vektor,Inc.
8
  Author URI: http://vektor-inc.co.jp
9
  License: GPL2
3
  Plugin Name: VK All in One Expansion Unit
4
  Plugin URI: http://ex-unit.vektor-inc.co.jp
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: 3.9.1
7
  Author: Vektor,Inc.
8
  Author URI: http://vektor-inc.co.jp
9
  License: GPL2