WP Social Bookmarking Light - Version 1.8.2

Version Description

  • Fixed: Undefined index: dnt (Twitter Button)
Download this release

Release Info

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

Code changes from version 1.8.1 to 1.8.2

modules/admin.php CHANGED
@@ -476,6 +476,15 @@ function wp_social_bookmarking_light_options_page()
476
  <input type="text" name='twitter_hashtags' value="<?php echo $options['twitter']['hashtags'] ?>" size=50 />
477
  </td>
478
  </tr>
 
 
 
 
 
 
 
 
 
479
  <tr>
480
  <th scope="row">Language:</th>
481
  <td>
476
  <input type="text" name='twitter_hashtags' value="<?php echo $options['twitter']['hashtags'] ?>" size=50 />
477
  </td>
478
  </tr>
479
+ <tr>
480
+ <th scope="row">Dnt: <br> <span style="font-size:10px">(Opt-out of tailoring Twitter)</span></th>
481
+ <td>
482
+ <select name='twitter_dnt'>
483
+ <option value='true' <?php if( $options['twitter']['dnt'] == true ) echo 'selected'; ?>>Yes</option>
484
+ <option value='false' <?php if( $options['twitter']['dnt'] == false ) echo 'selected'; ?>>No</option>
485
+ </select>
486
+ </td>
487
+ </tr>
488
  <tr>
489
  <th scope="row">Language:</th>
490
  <td>
modules/options.php CHANGED
@@ -77,7 +77,8 @@ EOT;
77
  'lang' => "",
78
  'size' => "",
79
  'related' => "",
80
- 'hashtags' => ""
 
81
  ),
82
  "hatena_button" => array('layout' => 'simple-balloon'),
83
  'facebook' => array(
@@ -178,7 +179,8 @@ function wp_social_bookmarking_light_save_options($data)
178
  'lang' => $data['twitter_lang'],
179
  'size' => $data['twitter_size'],
180
  'related' => $data['twitter_related'],
181
- 'hashtags' => $data['twitter_hashtags']
 
182
  ),
183
  'hatena_button' => array(
184
  'layout' => $data['hatena_button_layout']
77
  'lang' => "",
78
  'size' => "",
79
  'related' => "",
80
+ 'hashtags' => "",
81
+ "dnt" => false
82
  ),
83
  "hatena_button" => array('layout' => 'simple-balloon'),
84
  'facebook' => array(
179
  'lang' => $data['twitter_lang'],
180
  'size' => $data['twitter_size'],
181
  'related' => $data['twitter_related'],
182
+ 'hashtags' => $data['twitter_hashtags'],
183
+ 'dnt' => $data['twitter_dnt'] == 'true',
184
  ),
185
  'hatena_button' => array(
186
  'layout' => $data['hatena_button_layout']
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.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.8.1 =
65
  * Updated: Google +1 Button
66
  * Added: 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.2
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.8.2 =
65
+ * Fixed: Undefined index: dnt (Twitter Button)
66
+
67
  = 1.8.1 =
68
  * Updated: Google +1 Button
69
  * Added: Donate
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.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.8.2
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)