WordPress Share Buttons Plugin – AddThis - Version 3.5.8

Version Description

  • Resolved conflict with another plugin
Download this release

Release Info

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

Code changes from version 3.5.7 to 3.5.8

Files changed (2) hide show
  1. addthis_social_widget.php +5 -8
  2. readme.txt +10 -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.7
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.7');
50
- define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp-3.5.7');
51
  define( 'ADDTHIS_ATVERSION', '300');
52
  define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
53
  define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
@@ -2036,7 +2036,7 @@ function addthis_plugin_options_php4() {
2036
  ?>
2037
 
2038
  <p>
2039
- <?php if(!is_pro_user()) { ?>
2040
  <div class="updated addthis_setup_nag">
2041
  <p>AddThis Pro now available - start your trial at
2042
  <a href="http://www.addthis.com" target="_blank">www.addthis.com</a>
@@ -2420,14 +2420,12 @@ if (! function_exists('get_first_twitter_username'))
2420
  }
2421
  }
2422
 
2423
-
2424
  // check for pro user
2425
- function is_pro_user() {
2426
  $isPro = false;
2427
  $options = get_option('addthis_settings');
2428
  $profile = $options['profile'];
2429
  if ($profile) {
2430
- $profile_code = str_replace('-', '', $profile);
2431
  $ch = curl_init();
2432
  curl_setopt($ch, CURLOPT_URL, "http://q.addthis.com/feeds/1.0/config.json?pubid=" . $profile);
2433
 
@@ -2450,4 +2448,3 @@ function is_pro_user() {
2450
  }
2451
 
2452
  require_once('addthis_post_metabox.php');
2453
-
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
46
 
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);
2036
  ?>
2037
 
2038
  <p>
2039
+ <?php if(!at_share_is_pro_user()) { ?>
2040
  <div class="updated addthis_setup_nag">
2041
  <p>AddThis Pro now available - start your trial at
2042
  <a href="http://www.addthis.com" target="_blank">www.addthis.com</a>
2420
  }
2421
  }
2422
 
 
2423
  // check for pro user
2424
+ function at_share_is_pro_user() {
2425
  $isPro = false;
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
 
2448
  }
2449
 
2450
  require_once('addthis_post_metabox.php');
 
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.7
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.7 =
80
  * Minor updates
81
 
@@ -255,6 +258,12 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
255
 
256
  == Upgrade Notice ==
257
 
 
 
 
 
 
 
258
  = 3.5.6 =
259
  Minor updates
260
 
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
 
77
  == Changelog ==
78
 
79
+ = 3.5.8 =
80
+ * Resolved conflict with another plugin
81
+
82
  = 3.5.7 =
83
  * Minor updates
84
 
258
 
259
  == Upgrade Notice ==
260
 
261
+ = 3.5.8 =
262
+ Minor bug fix
263
+
264
+ = 3.5.7 =
265
+ Minor updates
266
+
267
  = 3.5.6 =
268
  Minor updates
269