WP Social Bookmarking Light - Version 1.4.2

Version Description

  • Bug fix: the icon for evernote not displayed on IE.
Download this release

Release Info

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

Code changes from version 1.4.1 to 1.4.2

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wp-social-bookmarking-light.php +3 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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,6 +51,9 @@ This is the list of used social sites:
51
 
52
  == Changelog ==
53
 
 
 
 
54
  = 1.4.1 =
55
  * Bug fix: some unable to clip to Evernote.
56
 
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.2
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.4.2 =
55
+ * Bug fix: the icon for evernote not displayed on IE.
56
+
57
  = 1.4.1 =
58
  * Bug fix: some unable to clip to Evernote.
59
 
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.1
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
@@ -353,7 +353,8 @@ class WpSocialBookmarkingLight
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
  /**
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.2
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
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
+ $img = "<img src='${icon}' width='16' height='16' />";
357
+ return $this->link_raw( "<a href='#' title='Clip to Evernote' onclick=\"${script} return false;\">${img}</a>" );
358
  }
359
 
360
  /**