WordPress Share Buttons Plugin – AddThis - Version 3.5.3

Version Description

  • Fix for wrong url being shared while using Custom Button option
Download this release

Release Info

Developer srijith.v
Plugin Icon 128x128 WordPress Share Buttons Plugin – AddThis
Version 3.5.3
Comparing to
See all releases

Code changes from version 3.5.2 to 3.5.3

Files changed (2) hide show
  1. addthis_social_widget.php +6 -11
  2. readme.txt +11 -4
addthis_social_widget.php CHANGED
@@ -23,7 +23,7 @@
23
  * Plugin Name: AddThis Social Bookmarking Widget
24
  * Plugin URI: http://www.addthis.com
25
  * 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.
26
- * Version: 3.5.2
27
  *
28
  * Author: The AddThis Team
29
  * Author URI: http://www.addthis.com/blog
@@ -46,8 +46,8 @@ function addthis_early(){
46
 
47
 
48
  define( 'addthis_style_default' , 'fb_tw_p1_sc');
49
- define( 'ADDTHIS_PLUGIN_VERSION' , '3.5.1');
50
- define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp-3.5.1');
51
  define( 'ADDTHIS_ATVERSION', '300');
52
  define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
53
  define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
@@ -1528,17 +1528,12 @@ function addthis_display_social_widget($content, $filtered = true, $below_excerp
1528
  {
1529
  if ( isset($above) )
1530
  {
1531
- if ($options['above'] == 'custom' || $options['above'] == 'custom_string')
1532
- $content = $above . $content;
1533
- else
1534
- $content = sprintf($above, $url_above) . $content;
1535
  }
1536
  if ( isset($below) )
1537
  {
1538
- if ($options['below'] == 'custom' || $options['below'] == 'custom_string')
1539
- $content = $content . $below;
1540
- else
1541
- $content = $content . sprintf($below, $url_below);
1542
  }
1543
  if ($filtered == true)
1544
  add_filter('wp_trim_excerpt', 'addthis_remove_tag', 11, 2);
23
  * Plugin Name: AddThis Social Bookmarking Widget
24
  * Plugin URI: http://www.addthis.com
25
  * 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.
26
+ * Version: 3.5.3
27
  *
28
  * Author: The AddThis Team
29
  * Author URI: http://www.addthis.com/blog
46
 
47
 
48
  define( 'addthis_style_default' , 'fb_tw_p1_sc');
49
+ define( 'ADDTHIS_PLUGIN_VERSION' , '3.5.2');
50
+ define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp');
51
  define( 'ADDTHIS_ATVERSION', '300');
52
  define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
53
  define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
1528
  {
1529
  if ( isset($above) )
1530
  {
1531
+
1532
+ $content = sprintf($above, $url_above) . $content;
 
 
1533
  }
1534
  if ( isset($below) )
1535
  {
1536
+ $content = $content . sprintf($below, $url_below);
 
 
 
1537
  }
1538
  if ($filtered == true)
1539
  add_filter('wp_trim_excerpt', 'addthis_remove_tag', 11, 2);
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: srijith.v, solchea, _mjk_, 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, pintrest, widget
4
  Requires at least: 3.0
5
  Tested up to: 3.6.1
6
- Stable tag: 3.5.2
7
 
8
  AddThis Share Buttons help drive traffic to your site by helping visitors share, bookmark and email your content to over 330 services.
9
 
@@ -76,6 +76,9 @@ PHP 5+ is preferred; PHP 4 is supported.
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 3.5.2 =
80
  * Minor bug fixes.
81
 
@@ -239,14 +242,18 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
239
 
240
 
241
  == Upgrade Notice ==
 
 
 
 
242
  = 3.5.2 =
243
- * Bug fixes.
244
 
245
  = 3.5.1 =
246
- * Reintroduced Custom Button Code box
247
 
248
  = 3.5 =
249
- * Drag and drop customization of buttons, better preview of buttons
250
 
251
  = 3.1 =
252
  Bug fixes, better validations
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, pintrest, widget
4
  Requires at least: 3.0
5
  Tested up to: 3.6.1
6
+ Stable tag: 3.5.3
7
 
8
  AddThis Share Buttons help drive traffic to your site by helping visitors share, bookmark and email your content to over 330 services.
9
 
76
 
77
  == Changelog ==
78
 
79
+ = 3.5.3 =
80
+ * Fix for wrong url being shared while using Custom Button option
81
+
82
  = 3.5.2 =
83
  * Minor bug fixes.
84
 
242
 
243
 
244
  == Upgrade Notice ==
245
+
246
+ = 3.5.3 =
247
+ Fix for wrong url being shared while using Custom Button option
248
+
249
  = 3.5.2 =
250
+ Bug fixes.
251
 
252
  = 3.5.1 =
253
+ Reintroduced Custom Button Code box
254
 
255
  = 3.5 =
256
+ Drag and drop customization of buttons, better preview of buttons
257
 
258
  = 3.1 =
259
  Bug fixes, better validations