WP Social Bookmarking Light - Version 1.9.2

Version Description

  • Workaround: disable social buttons on AMP #47
Download this release

Release Info

Developer utahvich
Plugin Icon wp plugin WP Social Bookmarking Light
Version 1.9.2
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2

modules/content.php CHANGED
@@ -139,6 +139,11 @@ function wp_social_bookmarking_light_is_enabled()
139
  if (in_array('get_the_excerpt', (array)$wp_current_filter)) {
140
  return false;
141
  }
 
 
 
 
 
142
  return true;
143
  }
144
 
139
  if (in_array('get_the_excerpt', (array)$wp_current_filter)) {
140
  return false;
141
  }
142
+
143
+ if (get_query_var('amp', false) !== false) {
144
+ return false;
145
+ }
146
+
147
  return true;
148
  }
149
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://github.com/utahta/WP-Social-Bookmarking-Light/wiki/Donate
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket, Pinterest
5
  Requires at least: 2.9.0
6
  Tested up to: 4.7
7
- Stable tag: 1.9.1
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
@@ -61,6 +61,9 @@ This is the list of used social sites:
61
 
62
  == Changelog ==
63
 
 
 
 
64
  = 1.9.1 =
65
  * Fixed: deprecated in php7. [#44](https://github.com/utahta/WP-Social-Bookmarking-Light/pull/44)
66
 
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket, Pinterest
5
  Requires at least: 2.9.0
6
  Tested up to: 4.7
7
+ Stable tag: 1.9.2
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.9.2 =
65
+ * Workaround: disable social buttons on AMP [#47](https://github.com/utahta/WP-Social-Bookmarking-Light/pull/47)
66
+
67
  = 1.9.1 =
68
  * Fixed: deprecated in php7. [#44](https://github.com/utahta/WP-Social-Bookmarking-Light/pull/44)
69
 
wp-social-bookmarking-light.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://github.com/utahta/WP-Social-Bookmarking-Light
5
  Description: This plugin inserts social share links at the top or bottom of each post.
6
  Author: utahta
7
  Author URI: https://github.com/utahta/WP-Social-Bookmarking-Light
8
- Version: 1.9.1
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
5
  Description: This plugin inserts social share links at the top or bottom of each post.
6
  Author: utahta
7
  Author URI: https://github.com/utahta/WP-Social-Bookmarking-Light
8
+ Version: 1.9.2
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)