Version Description
- Fixed: Included unnecessary string "twitter{count}" #32
Download this release
Release Info
Developer | utahvich |
Plugin | WP Social Bookmarking Light |
Version | 1.8.4 |
Comparing to | |
See all releases |
Code changes from version 1.8.3 to 1.8.4
- modules/services.php +13 -13
- readme.txt +4 -1
- wp-social-bookmarking-light.php +1 -1
modules/services.php
CHANGED
@@ -102,23 +102,23 @@ class WpSocialBookmarkingLight
|
|
102 |
$twitter = $options['twitter'];
|
103 |
$data_url = $this->url;
|
104 |
$data_text = $this->title;
|
105 |
-
$data_via = $twitter['via'] !== '' ? 'data-via="'.$twitter['via'].'"' : '';
|
106 |
-
$data_size = $twitter['size'] === 'large' ? 'data-size="large"' : '';
|
107 |
-
$data_related = $twitter['related'] !== '' ? 'data-related="'.$twitter['related'].'"' : '';
|
108 |
-
$data_hashtags = $twitter['hashtags'] !== '' ? 'data-hashtags="'.$twitter['hashtags'].'"' : '';
|
109 |
-
$data_dnt = $twitter['dnt'] ? 'data-dnt="true"' : '';
|
110 |
-
$data_lang = $twitter['lang'] !== '' ? 'data-lang="'.$twitter['lang'].'"' : '';
|
111 |
|
112 |
return $this->link_raw(
|
113 |
-
'<a href="https://twitter.com/share" class="twitter-share-button"
|
114 |
.' data-url="'.$data_url.'"'
|
115 |
.' data-text="'.$data_text.'"'
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
.'>Tweet</a>'
|
123 |
);
|
124 |
}
|
102 |
$twitter = $options['twitter'];
|
103 |
$data_url = $this->url;
|
104 |
$data_text = $this->title;
|
105 |
+
$data_via = $twitter['via'] !== '' ? ' data-via="'.$twitter['via'].'"' : '';
|
106 |
+
$data_size = $twitter['size'] === 'large' ? ' data-size="large"' : '';
|
107 |
+
$data_related = $twitter['related'] !== '' ? ' data-related="'.$twitter['related'].'"' : '';
|
108 |
+
$data_hashtags = $twitter['hashtags'] !== '' ? ' data-hashtags="'.$twitter['hashtags'].'"' : '';
|
109 |
+
$data_dnt = $twitter['dnt'] ? ' data-dnt="true"' : '';
|
110 |
+
$data_lang = $twitter['lang'] !== '' ? ' data-lang="'.$twitter['lang'].'"' : '';
|
111 |
|
112 |
return $this->link_raw(
|
113 |
+
'<a href="https://twitter.com/share" class="twitter-share-button"'
|
114 |
.' data-url="'.$data_url.'"'
|
115 |
.' data-text="'.$data_text.'"'
|
116 |
+
.$data_via
|
117 |
+
.$data_size
|
118 |
+
.$data_related
|
119 |
+
.$data_hashtags
|
120 |
+
.$data_dnt
|
121 |
+
.$data_lang
|
122 |
.'>Tweet</a>'
|
123 |
);
|
124 |
}
|
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.3
|
7 |
-
Stable tag: 1.8.
|
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.8.3 =
|
65 |
* Fixed: Included unnecessary string (like Tweet, Pocket) in the excerpt
|
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.3
|
7 |
+
Stable tag: 1.8.4
|
8 |
|
9 |
This plugin inserts social share links at the top or bottom of each post.
|
10 |
|
61 |
|
62 |
== Changelog ==
|
63 |
|
64 |
+
= 1.8.4 =
|
65 |
+
* Fixed: Included unnecessary string "twitter{count}" [#32](https://github.com/utahta/WP-Social-Bookmarking-Light/pull/32)
|
66 |
+
|
67 |
= 1.8.3 =
|
68 |
* Fixed: Included unnecessary string (like Tweet, Pocket) in the excerpt
|
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.8.
|
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.8.4
|
9 |
*/
|
10 |
/*
|
11 |
Copyright 2010 utahta (email : labs.ninxit@gmail.com)
|