WordPress Share Buttons Plugin – AddThis - Version 2.3.2

Version Description

  • Add opt out for copy text tracking
Download this release

Release Info

Developer jorbin
Plugin Icon 128x128 WordPress Share Buttons Plugin – AddThis
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

Files changed (2) hide show
  1. addthis_social_widget.php +12 -4
  2. readme.txt +5 -2
addthis_social_widget.php CHANGED
@@ -26,14 +26,14 @@ else return;
26
  * Plugin Name: AddThis Social Bookmarking Widget
27
  * Plugin URI: http://www.addthis.com
28
  * Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
29
- * Version: 2.3.1
30
  *
31
  * Author: The AddThis Team
32
  * Author URI: http://www.addthis.com/blog
33
  */
34
 
35
  define( 'addthis_style_default' , 'small_toolbox_with_share');
36
- define( 'ADDTHIS_PLUGIN_VERSION', '2.3.1');
37
 
38
  $addthis_settings = array();
39
  $addthis_settings['isdropdown'] = 'true';
@@ -856,7 +856,7 @@ elseif ($data['below'] == 'custom_string')
856
 
857
 
858
  // All the checkbox fields
859
- foreach (array('addthis_show_stats', 'addthis_append_data', 'addthis_showonhome', 'addthis_showonpages', 'addthis_showonarchives', 'addthis_showoncats', 'addthis_showonexcerpts', 'addthis_addressbar','addthis_508' ) as $field)
860
  {
861
  if ( isset($data[$field]) && $data[$field] == true)
862
  $options[$field] = true;
@@ -1310,7 +1310,7 @@ function addthis_output_script($return = false )
1310
 
1311
  $script = "\n<!-- AddThis Button Begin -->\n"
1312
  .'<script type="text/javascript">'
1313
- ."var addthis_product = 'wpp-263';\n";
1314
 
1315
 
1316
  $pub = (isset($options['profile'])) ? $options['profile'] : false ;
@@ -1338,6 +1338,9 @@ function addthis_output_script($return = false )
1338
  else
1339
  $addthis_config["data_track_addressbar"] = false;
1340
 
 
 
 
1341
  if ( isset($options['addthis_language']) && strlen($options['addthis_language']) == 2)
1342
  $addthis_config['ui_language'] = $options['addthis_language'];
1343
 
@@ -1554,6 +1557,7 @@ function addthis_admin_menu()
1554
  'addthis_showonarchives' => true,
1555
  'addthis_showoncats' => true,
1556
  'addthis_addressbar' => false,
 
1557
  'addthis_brand' => '',
1558
  'toolbox' => '',
1559
  'addthis_language' => '',
@@ -1678,6 +1682,10 @@ function addthis_plugin_options_php4() {
1678
  <th scope="row"><?php _e("Track address bar shares:", 'addthis_trans_domain' ); ?></th>
1679
  <td><input type="checkbox" name="addthis_settings[addthis_addressbar]" value="true" <?php echo ($addthis_addressbar == true ? 'checked="checked"' : ''); ?>/></td>
1680
  </tr>
 
 
 
 
1681
  <tr>
1682
  <th scope="row"><?php _e("Show on homepage:", 'addthis_trans_domain' ); ?></th>
1683
  <td><input type="checkbox" name="addthis_settings[addthis_showonhome]" value="true" <?php echo ($addthis_showonhome == true ? 'checked="checked"' : ''); ?>/></td>
26
  * Plugin Name: AddThis Social Bookmarking Widget
27
  * Plugin URI: http://www.addthis.com
28
  * Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
29
+ * Version: 2.3.2
30
  *
31
  * Author: The AddThis Team
32
  * Author URI: http://www.addthis.com/blog
33
  */
34
 
35
  define( 'addthis_style_default' , 'small_toolbox_with_share');
36
+ define( 'ADDTHIS_PLUGIN_VERSION', '2.3.2');
37
 
38
  $addthis_settings = array();
39
  $addthis_settings['isdropdown'] = 'true';
856
 
857
 
858
  // All the checkbox fields
859
+ foreach (array('addthis_show_stats', 'addthis_append_data', 'addthis_showonhome', 'addthis_showonpages', 'addthis_showonarchives', 'addthis_showoncats', 'addthis_showonexcerpts', 'addthis_addressbar','addthis_508','addthis_copytracking1' ) as $field)
860
  {
861
  if ( isset($data[$field]) && $data[$field] == true)
862
  $options[$field] = true;
1310
 
1311
  $script = "\n<!-- AddThis Button Begin -->\n"
1312
  .'<script type="text/javascript">'
1313
+ ."var addthis_product = 'wpp-264';\n";
1314
 
1315
 
1316
  $pub = (isset($options['profile'])) ? $options['profile'] : false ;
1338
  else
1339
  $addthis_config["data_track_addressbar"] = false;
1340
 
1341
+ if ( isset($options['addthis_copytracking1']) && $options['addthis_copytracking1'] == true)
1342
+ $addthis_config['data_track_textcopy'] = false;
1343
+
1344
  if ( isset($options['addthis_language']) && strlen($options['addthis_language']) == 2)
1345
  $addthis_config['ui_language'] = $options['addthis_language'];
1346
 
1557
  'addthis_showonarchives' => true,
1558
  'addthis_showoncats' => true,
1559
  'addthis_addressbar' => false,
1560
+ 'addthis_copytracking1' => false,
1561
  'addthis_brand' => '',
1562
  'toolbox' => '',
1563
  'addthis_language' => '',
1682
  <th scope="row"><?php _e("Track address bar shares:", 'addthis_trans_domain' ); ?></th>
1683
  <td><input type="checkbox" name="addthis_settings[addthis_addressbar]" value="true" <?php echo ($addthis_addressbar == true ? 'checked="checked"' : ''); ?>/></td>
1684
  </tr>
1685
+ <tr>
1686
+ <th scope="row"><?php _e("Opt Out of copy text tracking:", 'addthis_trans_domain' ); ?></th>
1687
+ <td><input type="checkbox" name="addthis_settings[addthis_copytracking1]" value="true" <?php echo ( $addthis_copytracking1 == true ? 'checked="checked"' : ''); ?>/></td>
1688
+ </tr>
1689
  <tr>
1690
  <th scope="row"><?php _e("Show on homepage:", 'addthis_trans_domain' ); ?></th>
1691
  <td><input type="checkbox" name="addthis_settings[addthis_showonhome]" value="true" <?php echo ($addthis_showonhome == true ? 'checked="checked"' : ''); ?>/></td>
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === AddThis ===
2
- Contributors: _mjk_, jorbin
3
  Tags: share, addthis, social, bookmark, sharing, bookmarking, widget,AddThis, addtoany, aim, bookmark, buzz, del.icio.us, Digg,e-mail, email, Facebook, google bookmarks, google buzz, myspace,network, NewsVine, Reddit, Share, share this, sharethis, social, socialize, stumbleupon, twitter, windows live, yahoo buzz
4
  Requires at least: 2.9
5
- Tested up to: 3.3.1
6
  Stable tag: 2.3.1
7
 
8
  The AddThis Social Bookmarking Widget allows any visitor to bookmark and share your site easily with over 330 popular services.
@@ -74,6 +74,9 @@ In the screen options you can enable the AddThis meta box. Check the box and sa
74
  PHP 5+ is preferred; PHP 4 is supported.
75
 
76
  == Changelog ==
 
 
 
77
  = 2.3.1 =
78
  * Don't strip pintrest tags from custom buttons
79
 
1
  === AddThis ===
2
+ Contributors: _mjk_, jorbin, addthis_paul
3
  Tags: share, addthis, social, bookmark, sharing, bookmarking, widget,AddThis, addtoany, aim, bookmark, buzz, del.icio.us, Digg,e-mail, email, Facebook, google bookmarks, google buzz, myspace,network, NewsVine, Reddit, Share, share this, sharethis, social, socialize, stumbleupon, twitter, windows live, yahoo buzz
4
  Requires at least: 2.9
5
+ Tested up to: 3.3.2
6
  Stable tag: 2.3.1
7
 
8
  The AddThis Social Bookmarking Widget allows any visitor to bookmark and share your site easily with over 330 popular services.
74
  PHP 5+ is preferred; PHP 4 is supported.
75
 
76
  == Changelog ==
77
+ = 2.3.2 =
78
+ * Add opt out for copy text tracking
79
+
80
  = 2.3.1 =
81
  * Don't strip pintrest tags from custom buttons
82