WP Social Bookmarking Light - Version 1.4.1

Version Description

  • Bug fix: some unable to clip to Evernote.
Download this release

Release Info

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

Code changes from version 1.4.0 to 1.4.1

Files changed (2) hide show
  1. readme.txt +6 -3
  2. wp-social-bookmarking-light.php +4 -4
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: utahvich
3
  Donate link: http://www.ninxit.com/blog/
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @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
5
  Requires at least: 2.9.0
6
- Tested up to: 2.9.2
7
- Stable tag: 1.4.0
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
@@ -51,8 +51,11 @@ This is the list of used social sites:
51
 
52
  == Changelog ==
53
 
 
 
 
54
  = 1.4.0 =
55
- * Added Evernote, Instapaper and StumbleUpon
56
 
57
  = 1.3.0 =
58
  * Added Yahoo!Buzz, reddit, LinkedIn and TwitterButton.
3
  Donate link: http://www.ninxit.com/blog/
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @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
5
  Requires at least: 2.9.0
6
+ Tested up to: 3.0.1
7
+ Stable tag: 1.4.1
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.4.1 =
55
+ * Bug fix: some unable to clip to Evernote.
56
+
57
  = 1.4.0 =
58
+ * Added Evernote, Instapaper and StumbleUpon.
59
 
60
  = 1.3.0 =
61
  * Added Yahoo!Buzz, reddit, LinkedIn and TwitterButton.
wp-social-bookmarking-light.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ninxit.com/blog/2010/06/13/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: http://www.ninxit.com/blog/
8
- Version: 1.4.0
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
@@ -352,9 +352,9 @@ class WpSocialBookmarkingLight
352
  function evernote()
353
  {
354
  $icon = WP_SOCIAL_BOOKMARKING_LIGHT_IMAGES_URL."/evernote.png";
355
- $href = "javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();";
356
- return $this->link_raw( '<a href="'.$href.'" title="Clip to Evernote" <img src="'.$icon.'"></a>' );
357
- }
358
 
359
  /**
360
  * @brief Instapaper
5
  Description: This plugin inserts social share links at the top or bottom of each post.
6
  Author: utahta
7
  Author URI: http://www.ninxit.com/blog/
8
+ Version: 1.4.1
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
352
  function evernote()
353
  {
354
  $icon = WP_SOCIAL_BOOKMARKING_LIGHT_IMAGES_URL."/evernote.png";
355
+ $script = "(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();";
356
+ return $this->link_raw( '<a href="#" title="Clip to Evernote" onclick="'.$script.'" <img src="'.$icon.'"></a>' );
357
+ }
358
 
359
  /**
360
  * @brief Instapaper