WordPress Share Buttons Plugin – AddThis - Version 3.5.9

Version Description

  • CURL bug fix
Download this release

Release Info

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

Code changes from version 3.5.8 to 3.5.9

Files changed (2) hide show
  1. addthis_social_widget.php +4 -12
  2. readme.txt +7 -1
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.8
27
  *
28
  * Author: The AddThis Team
29
  * Author URI: http://www.addthis.com/blog
@@ -47,7 +47,7 @@ function addthis_early(){
47
 
48
  define( 'addthis_style_default' , 'fb_tw_p1_sc');
49
  define( 'ADDTHIS_PLUGIN_VERSION' , '3.5.8');
50
- define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp-3.5.8');
51
  define( 'ADDTHIS_ATVERSION', '300');
52
  define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
53
  define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
@@ -2426,16 +2426,8 @@ function at_share_is_pro_user() {
2426
  $options = get_option('addthis_settings');
2427
  $profile = $options['profile'];
2428
  if ($profile) {
2429
- $ch = curl_init();
2430
- curl_setopt($ch, CURLOPT_URL, "http://q.addthis.com/feeds/1.0/config.json?pubid=" . $profile);
2431
-
2432
- // receive server response ...
2433
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
2434
-
2435
- // further processing ....
2436
- $server_output = curl_exec($ch);
2437
- curl_close($ch);
2438
-
2439
  $array = json_decode($server_output);
2440
  // check for pro user
2441
  if (array_key_exists('_default',$array)) {
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.9
27
  *
28
  * Author: The AddThis Team
29
  * Author URI: http://www.addthis.com/blog
47
 
48
  define( 'addthis_style_default' , 'fb_tw_p1_sc');
49
  define( 'ADDTHIS_PLUGIN_VERSION' , '3.5.8');
50
+ define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp-3.5.9');
51
  define( 'ADDTHIS_ATVERSION', '300');
52
  define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
53
  define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
2426
  $options = get_option('addthis_settings');
2427
  $profile = $options['profile'];
2428
  if ($profile) {
2429
+ $request = wp_remote_get( "http://q.addthis.com/feeds/1.0/config.json?pubid=" . $profile );
2430
+ $server_output = wp_remote_retrieve_body( $request );
 
 
 
 
 
 
 
 
2431
  $array = json_decode($server_output);
2432
  // check for pro user
2433
  if (array_key_exists('_default',$array)) {
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.8.1
6
- Stable tag: 3.5.8
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.8 =
80
  * Resolved conflict with another plugin
81
 
@@ -258,6 +261,9 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
258
 
259
  == Upgrade Notice ==
260
 
 
 
 
261
  = 3.5.8 =
262
  Minor bug fix
263
 
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.8.1
6
+ Stable tag: 3.5.9
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.9 =
80
+ * CURL bug fix
81
+
82
  = 3.5.8 =
83
  * Resolved conflict with another plugin
84
 
261
 
262
  == Upgrade Notice ==
263
 
264
+ = 3.5.9 =
265
+ * CURL bug fix
266
+
267
  = 3.5.8 =
268
  Minor bug fix
269