Social Sharing Toolkit - Version 2.1.1

Version Description

Please update to version 2.1.1 to remove unwanted bookmarks and follow text.

Download this release

Release Info

Developer MarijnRongen
Plugin Icon wp plugin Social Sharing Toolkit
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1.0 to 2.1.1

admin_2.1.0.css → admin_2.1.1.css RENAMED
File without changes
admin_2.1.0.js → admin_2.1.1.js RENAMED
File without changes
includes/buttons/button.buffer.php CHANGED
@@ -44,7 +44,7 @@ class MR_Social_Sharing_Toolkit_Buffer extends MR_Social_Sharing_Toolkit_Button
44
  $retval = $this->get_icon($type, $url, $text, $icon, true);
45
  break;
46
  }
47
- return $retval.' <span>'.get_option('mr_social_sharing_js_footer').'</span>';
48
  }
49
  }
50
  ?>
44
  $retval = $this->get_icon($type, $url, $text, $icon, true);
45
  break;
46
  }
47
+ return $retval;
48
  }
49
  }
50
  ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P8ZVN
4
  Tags: Facebook, Like, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Buffer, Follow, StumbleUpon, Stumble, Tumblr, Delicious, Digg, Reddit, Myspace, Hyves, YouTube, Flickr, 500px, Picasa, deaviantART, mail, RSS, feed, connect, recommend, social, sharing, widget, shortcode, page, post, button, counter, icon, bitly, Open Graph
5
  Requires at least: 3.0
6
  Tested up to: 3.4.1
7
- Stable tag: 2.1.0
8
  License: GPLv2 or later
9
 
10
  Easy sharing and connecting on social networks. Display on posts or use widgets or shortcode. Also Twitter name/hashtag to link converter.
@@ -166,6 +166,10 @@ Upload the Social Sharing Toolkit plugin to the `/wp-content/plugins/` folder on
166
 
167
  == Upgrade Notice ==
168
 
 
 
 
 
169
  = 2.1.0 =
170
 
171
  Please update to version 2.1.0 immediately for several crucial fixes.
@@ -227,6 +231,9 @@ Please update to version 1.0.1 to prevent an unexpected printing of the page tit
227
 
228
  == Changelog ==
229
 
 
 
 
230
  = 2.1.0 =
231
  * Includes a fix for intrusive p-tag inclusion by some themes (thanks to Pia and Patrick for helping to debug this)
232
  * Replaced the Twitter icons
4
  Tags: Facebook, Like, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Buffer, Follow, StumbleUpon, Stumble, Tumblr, Delicious, Digg, Reddit, Myspace, Hyves, YouTube, Flickr, 500px, Picasa, deaviantART, mail, RSS, feed, connect, recommend, social, sharing, widget, shortcode, page, post, button, counter, icon, bitly, Open Graph
5
  Requires at least: 3.0
6
  Tested up to: 3.4.1
7
+ Stable tag: 2.1.1
8
  License: GPLv2 or later
9
 
10
  Easy sharing and connecting on social networks. Display on posts or use widgets or shortcode. Also Twitter name/hashtag to link converter.
166
 
167
  == Upgrade Notice ==
168
 
169
+ = 2.1.1 =
170
+
171
+ Please update to version 2.1.1 to remove unwanted bookmarks and follow text.
172
+
173
  = 2.1.0 =
174
 
175
  Please update to version 2.1.0 immediately for several crucial fixes.
231
 
232
  == Changelog ==
233
 
234
+ = 2.1.1 =
235
+ * Minor fix removing some unwanted text
236
+
237
  = 2.1.0 =
238
  * Includes a fix for intrusive p-tag inclusion by some themes (thanks to Pia and Patrick for helping to debug this)
239
  * Replaced the Twitter icons
script_2.1.0.js → script_2.1.1.js RENAMED
File without changes
script_no_follow_2.1.0.js → script_no_follow_2.1.1.js RENAMED
File without changes
social_sharing_toolkit.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Social Sharing Toolkit
4
  Plugin URI: http://www.active-bits.nl/support/social-sharing-toolkit/
5
  Description: This plugin enables sharing of your content via popular social networks and can also convert Twitter names and hashtags to links. Easy & configurable.
6
- Version: 2.1.0
7
  Author: Marijn Rongen
8
  Author URI: http://www.active-bits.nl
9
  */
@@ -175,8 +175,8 @@ class MR_Social_Sharing_Toolkit {
175
  add_filter('plugin_row_meta', array('MR_Social_Sharing_Toolkit', 'plugin_links'),10,2);
176
  wp_enqueue_script('jquery-ui-tabs');
177
  wp_enqueue_script('jquery-ui-sortable');
178
- wp_enqueue_style('mr_social_sharing-admin', plugins_url('/admin_2.1.0.css', __FILE__));
179
- wp_enqueue_script('mr_social_sharing-admin', plugins_url('/admin_2.1.0.js', __FILE__));
180
  }
181
 
182
  function plugin_links($links, $file) {
@@ -504,7 +504,7 @@ class MR_Social_Sharing_Toolkit {
504
  /* Output functions */
505
 
506
  function print_opengraph() {
507
- echo '<!-- Open Graph tags provided by Social Sharing Toolkit v2.1.0 -->
508
  <meta property="og:locale" content="'.str_replace('-', '_', get_bloginfo('language')).'"/>';
509
  if (is_single() || is_page()) {
510
  $excerpt = get_the_excerpt();
@@ -563,7 +563,7 @@ class MR_Social_Sharing_Toolkit {
563
  }
564
 
565
  function prepare_styles() {
566
- wp_enqueue_style('mr_social_sharing', plugins_url('/style_2.1.0.css', __FILE__));
567
  $upload = wp_upload_dir();
568
  if (file_exists($upload['basedir'].'/social_sharing_custom.css') && $this->options['mr_social_sharing_custom_css'] != '') {
569
  wp_enqueue_style('mr_social_sharing_custom', $upload['baseurl'].'/social_sharing_custom.css');
@@ -573,15 +573,15 @@ class MR_Social_Sharing_Toolkit {
573
  function prepare_scripts() {
574
  if ($this->options['mr_social_sharing_no_follow'] == 1) {
575
  if ($this->options['mr_social_sharing_js_footer'] == 1) {
576
- wp_enqueue_script('mr_social_sharing', plugins_url('/script_no_follow_2.1.0.js', __FILE__), array('jquery'), false, true);
577
  } else {
578
- wp_enqueue_script('mr_social_sharing', plugins_url('/script_no_follow_2.1.0.js', __FILE__), array('jquery'));
579
  }
580
  } else {
581
  if ($this->options['mr_social_sharing_js_footer'] == 1) {
582
- wp_enqueue_script('mr_social_sharing', plugins_url('/script_2.1.0.js', __FILE__), array('jquery'), false, true);
583
  } else {
584
- wp_enqueue_script('mr_social_sharing', plugins_url('/script_2.1.0.js', __FILE__), array('jquery'));
585
  }
586
  }
587
  $this->load_scripts();
@@ -637,7 +637,7 @@ class MR_Social_Sharing_Toolkit {
637
  }
638
  $bookmarks = '
639
  <div class="mr_social_sharing_wrapper">
640
- <!-- Social Sharing Toolkit v2.1.0 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
641
  foreach ($this->options['mr_social_sharing_'.$type.'button_order'] as $button) {
642
  if ($this->options['mr_social_sharing_'.$type.'buttons'][$button]['enable'] == 1) {
643
  $id = (array_key_exists('id', $this->options['mr_social_sharing_'.$type.'buttons'][$button])) ? $this->options['mr_social_sharing_'.$type.'buttons'][$button]['id'] : '';
@@ -649,14 +649,13 @@ class MR_Social_Sharing_Toolkit {
649
  $bookmarks .= '</div>';
650
  $bookmarks = str_replace('<div class="mr_social_sharing_wrapper"></div>', '', $bookmarks);
651
  $this->count++;
652
- echo 'bookmarks';
653
  return $bookmarks;
654
  }
655
 
656
  function create_followers() {
657
  $followers = '
658
  <div class="mr_social_sharing_wrapper">
659
- <!-- Social Sharing Toolkit v2.1.0 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
660
  foreach ($this->options['mr_social_sharing_follow_button_order'] as $button) {
661
  if ($this->options['mr_social_sharing_follow_buttons'][$button]['enable'] == 1) {
662
  $id = (array_key_exists('id', $this->options['mr_social_sharing_follow_buttons'][$button])) ? $this->options['mr_social_sharing_follow_buttons'][$button]['id'] : '';
@@ -667,7 +666,6 @@ class MR_Social_Sharing_Toolkit {
667
  }
668
  $followers .= '</div>';
669
  $followers = str_replace('<div class="mr_social_sharing_wrapper"></div>', '', $followers);
670
- echo 'follow';
671
  return $followers;
672
  }
673
 
3
  Plugin Name: Social Sharing Toolkit
4
  Plugin URI: http://www.active-bits.nl/support/social-sharing-toolkit/
5
  Description: This plugin enables sharing of your content via popular social networks and can also convert Twitter names and hashtags to links. Easy & configurable.
6
+ Version: 2.1.1
7
  Author: Marijn Rongen
8
  Author URI: http://www.active-bits.nl
9
  */
175
  add_filter('plugin_row_meta', array('MR_Social_Sharing_Toolkit', 'plugin_links'),10,2);
176
  wp_enqueue_script('jquery-ui-tabs');
177
  wp_enqueue_script('jquery-ui-sortable');
178
+ wp_enqueue_style('mr_social_sharing-admin', plugins_url('/admin_2.1.1.css', __FILE__));
179
+ wp_enqueue_script('mr_social_sharing-admin', plugins_url('/admin_2.1.1.js', __FILE__));
180
  }
181
 
182
  function plugin_links($links, $file) {
504
  /* Output functions */
505
 
506
  function print_opengraph() {
507
+ echo '<!-- Open Graph tags provided by Social Sharing Toolkit v2.1.1 -->
508
  <meta property="og:locale" content="'.str_replace('-', '_', get_bloginfo('language')).'"/>';
509
  if (is_single() || is_page()) {
510
  $excerpt = get_the_excerpt();
563
  }
564
 
565
  function prepare_styles() {
566
+ wp_enqueue_style('mr_social_sharing', plugins_url('/style_2.1.1.css', __FILE__));
567
  $upload = wp_upload_dir();
568
  if (file_exists($upload['basedir'].'/social_sharing_custom.css') && $this->options['mr_social_sharing_custom_css'] != '') {
569
  wp_enqueue_style('mr_social_sharing_custom', $upload['baseurl'].'/social_sharing_custom.css');
573
  function prepare_scripts() {
574
  if ($this->options['mr_social_sharing_no_follow'] == 1) {
575
  if ($this->options['mr_social_sharing_js_footer'] == 1) {
576
+ wp_enqueue_script('mr_social_sharing', plugins_url('/script_no_follow_2.1.1.js', __FILE__), array('jquery'), false, true);
577
  } else {
578
+ wp_enqueue_script('mr_social_sharing', plugins_url('/script_no_follow_2.1.1.js', __FILE__), array('jquery'));
579
  }
580
  } else {
581
  if ($this->options['mr_social_sharing_js_footer'] == 1) {
582
+ wp_enqueue_script('mr_social_sharing', plugins_url('/script_2.1.1.js', __FILE__), array('jquery'), false, true);
583
  } else {
584
+ wp_enqueue_script('mr_social_sharing', plugins_url('/script_2.1.1.js', __FILE__), array('jquery'));
585
  }
586
  }
587
  $this->load_scripts();
637
  }
638
  $bookmarks = '
639
  <div class="mr_social_sharing_wrapper">
640
+ <!-- Social Sharing Toolkit v2.1.1 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
641
  foreach ($this->options['mr_social_sharing_'.$type.'button_order'] as $button) {
642
  if ($this->options['mr_social_sharing_'.$type.'buttons'][$button]['enable'] == 1) {
643
  $id = (array_key_exists('id', $this->options['mr_social_sharing_'.$type.'buttons'][$button])) ? $this->options['mr_social_sharing_'.$type.'buttons'][$button]['id'] : '';
649
  $bookmarks .= '</div>';
650
  $bookmarks = str_replace('<div class="mr_social_sharing_wrapper"></div>', '', $bookmarks);
651
  $this->count++;
 
652
  return $bookmarks;
653
  }
654
 
655
  function create_followers() {
656
  $followers = '
657
  <div class="mr_social_sharing_wrapper">
658
+ <!-- Social Sharing Toolkit v2.1.1 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
659
  foreach ($this->options['mr_social_sharing_follow_button_order'] as $button) {
660
  if ($this->options['mr_social_sharing_follow_buttons'][$button]['enable'] == 1) {
661
  $id = (array_key_exists('id', $this->options['mr_social_sharing_follow_buttons'][$button])) ? $this->options['mr_social_sharing_follow_buttons'][$button]['id'] : '';
666
  }
667
  $followers .= '</div>';
668
  $followers = str_replace('<div class="mr_social_sharing_wrapper"></div>', '', $followers);
 
669
  return $followers;
670
  }
671
 
style_2.1.0.css → style_2.1.1.css RENAMED
File without changes