WP Socializer - Version 2.4.9.5

Version Description

  • Fixed Twitter title encoding bug.
  • Added Facebook like and send button to the floating sharebar.
  • Fixed bug in sharethis shortcode.
  • Added option to disable mobile mode for floating sharebar.
  • Fixed the irregular position of large pinterest button.
Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 WP Socializer
Version 2.4.9.5
Comparing to
See all releases

Code changes from version 2.4.9 to 2.4.9.5

admin/wpsr-admin-css.css CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
- * Version : 1.4
5
  */
6
 
7
  .wrap{
@@ -104,6 +104,7 @@
104
  .wrap .footer #wpsr_submit{
105
  padding: 8px 15px;
106
  font-size: 14px !important;
 
107
  }
108
 
109
  /****************************/
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
+ * Version : 1.5 (changed 2.4.9.5)
5
  */
6
 
7
  .wrap{
104
  .wrap .footer #wpsr_submit{
105
  padding: 8px 15px;
106
  font-size: 14px !important;
107
+ height: 40px;
108
  }
109
 
110
  /****************************/
admin/wpsr-admin-floating-bar.php CHANGED
@@ -12,6 +12,7 @@ function wpsr_floatbts_reset_values(){
12
  $wpsr_floatbts['insingle'] = 1;
13
  $wpsr_floatbts['inpage'] = 1;
14
  $wpsr_floatbts['disabled'] = 0;
 
15
 
16
  $wpsr_floatbts['floatleft_movable'] = 1;
17
  $wpsr_floatbts['floatleft_offset'] = 25;
@@ -37,6 +38,7 @@ function wpsr_admin_page_floating_bar(){
37
  $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
38
  $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
39
  $wpsr_floatbts['disabled'] = $_POST['wpsr_floatbts_disabled'];
 
40
 
41
  $wpsr_floatbts['floatleft_movable'] = $_POST['wpsr_floatbts_floatleft_movable'];
42
  $wpsr_floatbts['floatleft_offset'] = stripslashes($_POST['wpsr_floatbts_floatleft_offset']);
@@ -113,6 +115,12 @@ function wpsr_admin_page_floating_bar(){
113
  <label><input name="wpsr_floatbts_inpage" id="wpsr_floatbts_inpage" type="checkbox" value="1" <?php echo $wpsr_floatbts['inpage'] == "1" ? 'checked="checked"' : ""; ?> /> In Pages</label>
114
  </td>
115
  </tr>
 
 
 
 
 
 
116
  <tr>
117
  <td height="37">Disable the floating sharebar</td>
118
  <td><input name="wpsr_floatbts_disabled" id="wpsr_floatbts_disabled" type="checkbox" value="1" <?php echo $wpsr_floatbts['disabled'] == "1" ? 'checked="checked"' : ""; ?> /></td>
12
  $wpsr_floatbts['insingle'] = 1;
13
  $wpsr_floatbts['inpage'] = 1;
14
  $wpsr_floatbts['disabled'] = 0;
15
+ $wpsr_floatbts['mobmode'] = 0;
16
 
17
  $wpsr_floatbts['floatleft_movable'] = 1;
18
  $wpsr_floatbts['floatleft_offset'] = 25;
38
  $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
39
  $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
40
  $wpsr_floatbts['disabled'] = $_POST['wpsr_floatbts_disabled'];
41
+ $wpsr_floatbts['mobmode'] = $_POST['wpsr_floatbts_mobmode'];
42
 
43
  $wpsr_floatbts['floatleft_movable'] = $_POST['wpsr_floatbts_floatleft_movable'];
44
  $wpsr_floatbts['floatleft_offset'] = stripslashes($_POST['wpsr_floatbts_floatleft_offset']);
115
  <label><input name="wpsr_floatbts_inpage" id="wpsr_floatbts_inpage" type="checkbox" value="1" <?php echo $wpsr_floatbts['inpage'] == "1" ? 'checked="checked"' : ""; ?> /> In Pages</label>
116
  </td>
117
  </tr>
118
+
119
+ <tr>
120
+ <td height="37">Disable the mobile mode for floating sharebar <small class="redText">Beta</small></td>
121
+ <td><input name="wpsr_floatbts_mobmode" id="wpsr_floatbts_mobmode" type="checkbox" value="1" <?php echo $wpsr_floatbts['mobmode'] == "1" ? 'checked="checked"' : ""; ?> /></td>
122
+ </tr>
123
+
124
  <tr>
125
  <td height="37">Disable the floating sharebar</td>
126
  <td><input name="wpsr_floatbts_disabled" id="wpsr_floatbts_disabled" type="checkbox" value="1" <?php echo $wpsr_floatbts['disabled'] == "1" ? 'checked="checked"' : ""; ?> /></td>
admin/wpsr-admin-js.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * WP Socializer - Admin page functions
3
  * Author: Aakash Chakravarthy
4
- * Version: 2.7
5
  *
6
  */
7
 
@@ -172,7 +172,7 @@ $j(document).ready(function(){
172
  if($j('.introWrap').length != 0){
173
  $j.ajax({
174
  type: "GET",
175
- url: 'http://query.yahooapis.com/v1/public/yql?q=%20SELECT%20*%20FROM%20xml%20WHERE%20url%3D%22http%3A%2F%2Fvaakash.koding.com%2Fwpsr.xml%22&env=http%3A%2F%2Fdatatables.org%2Falltables.env',
176
  dataType: "xml",
177
  success: function(xml){
178
  try{
@@ -199,19 +199,18 @@ $j(document).ready(function(){
199
  $j('.helpTab').click(function(){
200
  $j.ajax({
201
  type: "GET",
202
- url: 'http://query.yahooapis.com/v1/public/yql?q=%20SELECT%20*%20FROM%20xml%20WHERE%20url%3D%22http%3A%2F%2Fvaakash.koding.com%2Fwpsr-help.xml%22&env=http%3A%2F%2Fdatatables.org%2Falltables.env',
203
  dataType: "xml",
204
  success: function(xml){
205
  ver = '[version="' + $j('.wpsrVer').text() + '"]';
206
 
207
  general = $j(xml).find('general').text();
208
  specific = $j(xml).find('content' + ver).text();
209
-
210
- $j(xml).find('content' + ver).each(function(){
211
- $j('.helpBox').hide();
212
- $j('.helpBox').html(general + specific);
213
- $j('.helpBox').fadeIn();
214
- });
215
  },
216
  error: function(err){
217
  $j('.helpBox').html('<p>An error occured while getting the help file.</p> For WP Socializer plugin support, use the free <a href="http://www.aakashweb.com/forum/" target="_blank">Aakash Web support forum</a>')
1
  /*
2
  * WP Socializer - Admin page functions
3
  * Author: Aakash Chakravarthy
4
+ * Version: 2.8
5
  *
6
  */
7
 
172
  if($j('.introWrap').length != 0){
173
  $j.ajax({
174
  type: "GET",
175
+ url: 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from xml where url="http://vaakash.github.io/wpsr.xml"') + '&format=xml',
176
  dataType: "xml",
177
  success: function(xml){
178
  try{
199
  $j('.helpTab').click(function(){
200
  $j.ajax({
201
  type: "GET",
202
+ url: 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from xml where url="http://vaakash.github.io/wpsr-help.xml"') + '&format=xml',
203
  dataType: "xml",
204
  success: function(xml){
205
  ver = '[version="' + $j('.wpsrVer').text() + '"]';
206
 
207
  general = $j(xml).find('general').text();
208
  specific = $j(xml).find('content' + ver).text();
209
+
210
+ $j('.helpBox').hide();
211
+ $j('.helpBox').html(general + specific);
212
+ $j('.helpBox').fadeIn();
213
+
 
214
  },
215
  error: function(err){
216
  $j('.helpBox').html('<p>An error occured while getting the help file.</p> For WP Socializer plugin support, use the free <a href="http://www.aakashweb.com/forum/" target="_blank">Aakash Web support forum</a>')
includes/wpsr-floatingbar.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Floating share bar Processor code for WP Socializer Plugin
4
- * Version : 1.3
5
  * Since : v2.4
6
  * Author : Aakash Chakravarthy
7
  */
@@ -24,9 +24,10 @@ function wpsr_process_floatingbts(){
24
  $content .= '<div class="wpsr_floatbt">' . $wpsr_floating_bar_bts[$selSplitted[$i]][$wpsr_floatbts['position']] . "</div>" ;
25
  }
26
 
27
- $width = (($wpsr_floatbts['position'] == 'bottom_fixed') ? 'style="width:' . $wpsr_floatbts['bottomfixed_width'] . 'px"' : '');
 
28
 
29
- $start = '<div class="wpsr-floatbar-' . $wpsr_floatbts['position'] . ' wpsr-floatbar-' . $wpsr_floatbts['theme'] . ($wpsr_floatbts['floatleft_movable'] ? ' wpsr-floatbar-movable ' : '') . ' clearfix" ' . $width . '>';
30
 
31
  if($wpsr_settings['disablecredits'] == 0){
32
  $end = '<div class="wpsr-linkback"><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">WP Socializer</a> <a href="http://www.aakashweb.com" target="_blank" class="wpsr_linkaw">Aakash Web</a></div>';
1
  <?php
2
  /*
3
  * Floating share bar Processor code for WP Socializer Plugin
4
+ * Version : 1.4
5
  * Since : v2.4
6
  * Author : Aakash Chakravarthy
7
  */
24
  $content .= '<div class="wpsr_floatbt">' . $wpsr_floating_bar_bts[$selSplitted[$i]][$wpsr_floatbts['position']] . "</div>" ;
25
  }
26
 
27
+ $width = ($wpsr_floatbts['position'] == 'bottom_fixed') ? 'style="width:' . $wpsr_floatbts['bottomfixed_width'] . 'px"' : '';
28
+ $mobmode = ($wpsr_floatbts['mobmode'] == 1) ? ' data-mobmode="0" ' : ' data-mobmode="1" ';
29
 
30
+ $start = '<div class="wpsr-floatbar-' . $wpsr_floatbts['position'] . ' wpsr-floatbar-' . $wpsr_floatbts['theme'] . ($wpsr_floatbts['floatleft_movable'] ? ' wpsr-floatbar-movable ' : '') . ' clearfix" ' . $width . $mobmode . '>';
31
 
32
  if($wpsr_settings['disablecredits'] == 0){
33
  $end = '<div class="wpsr-linkback"><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">WP Socializer</a> <a href="http://www.aakashweb.com" target="_blank" class="wpsr_linkaw">Aakash Web</a></div>';
includes/wpsr-retweet.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Retweet buttons Processor code for WP Socializer Plugin
4
- * Version : 2.4
5
  * Author : Aakash Chakravarthy
6
  */
7
 
@@ -46,7 +46,7 @@ function wpsr_retweet($args = ''){
46
 
47
  $pid = $post->ID;
48
  $purl = home_url() . '/?p=' . $pid;
49
- $title = trim(str_replace(array( '&', '#', '&#8211;' ), array('', '', '-'), $title)); // revised since v2.4.7
50
 
51
  ## Start Output
52
  $retweet_processed = "\n<!-- Start WP Socializer Plugin - Retweet Button -->\n";
1
  <?php
2
  /*
3
  * Retweet buttons Processor code for WP Socializer Plugin
4
+ * Version : 2.5
5
  * Author : Aakash Chakravarthy
6
  */
7
 
46
 
47
  $pid = $post->ID;
48
  $purl = home_url() . '/?p=' . $pid;
49
+ //$title = trim(str_replace(array( '&', '#', '&#8211;' ), array('', '', '-'), $title)); // revised since v2.4.9.5
50
 
51
  ## Start Output
52
  $retweet_processed = "\n<!-- Start WP Socializer Plugin - Retweet Button -->\n";
includes/wpsr-shortcodes.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Shortcodes for WP Socializer plugin
4
- * Version : 2.4
5
  * Author : Aakash Chakravarthy
6
  * Since : 2.0
7
  */
@@ -20,7 +20,7 @@ add_shortcode('wpsr_addthis', 'wpsr_addthis_shortcode');
20
 
21
  ## Sharethis button Shortcode
22
  function wpsr_sharethis_shortcode($atts){
23
- return wpsr_sharethis($atts) . wpsr_sharethis_config() . wpsr_sharethis_config();
24
  }
25
  add_shortcode('wpsr_sharethis', 'wpsr_sharethis_shortcode');
26
 
1
  <?php
2
  /*
3
  * Shortcodes for WP Socializer plugin
4
+ * Version : 2.5
5
  * Author : Aakash Chakravarthy
6
  * Since : 2.0
7
  */
20
 
21
  ## Sharethis button Shortcode
22
  function wpsr_sharethis_shortcode($atts){
23
+ return wpsr_sharethis($atts) . wpsr_sharethis_config() . wpsr_sharethis_script();
24
  }
25
  add_shortcode('wpsr_sharethis', 'wpsr_sharethis_shortcode');
26
 
includes/wpsr-widgets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Widget for WP Socializer plugin
4
- * Version : 1.0
5
  * Author : Aakash Chakravarthy
6
  * Since : 2.3
7
  */
@@ -46,7 +46,7 @@ class WPSR_Widget extends WP_Widget {
46
  }elseif($widget_type == 'googleplus-badge'){
47
 
48
  $output .= '<script type="text/javascript">(function() {var po = document.createElement("script");po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po, s);})()</script>';
49
- $output .= '<div class="g-plus" data-href="https://plus.google.com/' . $gplus_pageid .'" data-size="' . $gplus_badgetype . '"></div>';
50
 
51
  }
52
  $output .= "\n<!-- End WP Socializer Widget v" . WPSR_VERSION . "-->\n\n";
1
  <?php
2
  /*
3
  * Widget for WP Socializer plugin
4
+ * Version : 1.1
5
  * Author : Aakash Chakravarthy
6
  * Since : 2.3
7
  */
46
  }elseif($widget_type == 'googleplus-badge'){
47
 
48
  $output .= '<script type="text/javascript">(function() {var po = document.createElement("script");po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po, s);})()</script>';
49
+ $output .= '<div class="g-page" data-width="250" data-rel="publisher" data-href="https://plus.google.com/' . $gplus_pageid .'" ' . (($gplus_badgetype == 'smallbadge') ? 'data-layout="landscape"' : '') . '></div>';
50
 
51
  }
52
  $output .= "\n<!-- End WP Socializer Widget v" . WPSR_VERSION . "-->\n\n";
public/css/wp-socializer-buttons-css.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * WP Socializer Social buttons - CSS File - v2.5
3
  * Author: Aakash Chakravarthy
4
  */
5
 
@@ -280,11 +280,19 @@
280
  position: fixed !important;
281
  width: 200px;
282
  margin-left: -100px !important;
 
283
  display: none;
284
  }
285
  .wpsr_floatbt_min .wpsr_floatbt{
286
  float: left;
287
- margin: 10px;
 
 
 
 
 
 
 
288
  }
289
  .wpsr_shareminbt{
290
  display: none;
@@ -294,6 +302,7 @@
294
  left: 0;
295
  width: 64px;
296
  height: 64px;
 
297
  }
298
 
299
  /* ADJUSTMENTS */
@@ -313,6 +322,10 @@
313
  .wpsr-floatbar-bottom_fixed .fb-like > span{
314
  overflow: hidden !important;
315
  }
 
 
 
 
316
 
317
  /* Clearfix */
318
  .clearfix:after {
1
  /*
2
+ * WP Socializer Social buttons - CSS File - v2.6
3
  * Author: Aakash Chakravarthy
4
  */
5
 
280
  position: fixed !important;
281
  width: 200px;
282
  margin-left: -100px !important;
283
+ margin-top: -100px !important;
284
  display: none;
285
  }
286
  .wpsr_floatbt_min .wpsr_floatbt{
287
  float: left;
288
+ margin: 10px 1%;
289
+ width: 31%;
290
+ min-height: 70px;
291
+ max-height: 70px;
292
+ overflow: hidden;
293
+ }
294
+ .wpsr_floatbt_min .wpsr-linkback{
295
+ display: none;
296
  }
297
  .wpsr_shareminbt{
298
  display: none;
302
  left: 0;
303
  width: 64px;
304
  height: 64px;
305
+ margin-top: -32px;
306
  }
307
 
308
  /* ADJUSTMENTS */
322
  .wpsr-floatbar-bottom_fixed .fb-like > span{
323
  overflow: hidden !important;
324
  }
325
+ /* Pintrest push down, since v2.4.9.5 */
326
+ .wpsr-btn a[data-pin-config="above"]{
327
+ margin-bottom: -45px !important;
328
+ }
329
 
330
  /* Clearfix */
331
  .clearfix:after {
public/js/wp-socializer-floating-bar-js.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * Copyright 2013 Aakash Chakravarthy - www.aakashweb.com
3
  * Created for WP Socializer - Wordpress Plugin
4
- * v1.4
5
  */
6
 
7
  if(typeof jQuery == 'undefined'){
@@ -59,6 +59,10 @@ jQuery(document).ready(function(){
59
 
60
  // **
61
  var minLeftShareBar = function(){
 
 
 
 
62
  if(typeof window.innerWidth !== 'undefined' && window.innerWidth < 800 ){
63
  $floatbar.addClass('wpsr_floatbt_min').hide();
64
  jQuery('.wpsr_shareminbt').fadeIn();
1
  /*
2
  * Copyright 2013 Aakash Chakravarthy - www.aakashweb.com
3
  * Created for WP Socializer - Wordpress Plugin
4
+ * v1.5
5
  */
6
 
7
  if(typeof jQuery == 'undefined'){
59
 
60
  // **
61
  var minLeftShareBar = function(){
62
+
63
+ if( $floatbar.attr('data-mobmode') == 0 ) // Since v2.4.9.5
64
+ return '';
65
+
66
  if(typeof window.innerWidth !== 'undefined' && window.innerWidth < 800 ){
67
  $floatbar.addClass('wpsr_floatbt_min').hide();
68
  jQuery('.wpsr_shareminbt').fadeIn();
readme.txt CHANGED
@@ -7,7 +7,7 @@ License: GPLv2 or later
7
  Donate Link: http://bit.ly/wpsrDonation
8
  Requires at least: 3.1
9
  Tested up to: 3.6
10
- Stable tag: 2.4.9
11
 
12
  Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
13
 
@@ -27,6 +27,16 @@ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarkin
27
  * Template functions are available for advanced placements.
28
  * (NEW) Floating sharebar now optimized for mobile devices also.
29
 
 
 
 
 
 
 
 
 
 
 
30
  = Buttons available =
31
 
32
  Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
@@ -122,6 +132,13 @@ For custom placement in theme files and posts, check out the following documenta
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
 
125
  = 2.4.9 =
126
  * Added mobile optimization or small screen support for the floating sharebar
127
  * Facebook comments popup clipping is fixed.
7
  Donate Link: http://bit.ly/wpsrDonation
8
  Requires at least: 3.1
9
  Tested up to: 3.6
10
+ Stable tag: 2.4.9.5
11
 
12
  Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
13
 
27
  * Template functions are available for advanced placements.
28
  * (NEW) Floating sharebar now optimized for mobile devices also.
29
 
30
+ = New features and bug fixes in v2.4.9.5 =
31
+
32
+ * Fixed Twitter title encoding bug.
33
+ * Added Facebook like and send button to the floating sharebar.
34
+ * Fixed bug in sharethis shortcode.
35
+ * Added option to disable mobile mode for floating sharebar.
36
+ * Fixed the irregular position of large pinterest button.
37
+
38
+ [Changelog](changelog)
39
+
40
  = Buttons available =
41
 
42
  Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
132
 
133
  == Changelog ==
134
 
135
+ = 2.4.9.5 =
136
+ * Fixed Twitter title encoding bug.
137
+ * Added Facebook like and send button to the floating sharebar.
138
+ * Fixed bug in sharethis shortcode.
139
+ * Added option to disable mobile mode for floating sharebar.
140
+ * Fixed the irregular position of large pinterest button.
141
+
142
  = 2.4.9 =
143
  * Added mobile optimization or small screen support for the floating sharebar
144
  * Facebook comments popup clipping is fixed.
wp-socializer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
- Version: 2.4.9
5
  Plugin URI: http://www.aakashweb.com/
6
  Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar and Smart load feature. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
7
  Author: Aakash Chakravarthy
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_URL')) {
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
- define('WPSR_VERSION', '2.4.9');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
@@ -939,9 +939,13 @@ $wpsr_floating_bar_bts = array(
939
  'bottom_fixed' => '[wpsr_digg type="DiggCompact" script="0"]',
940
  ),
941
  'Facebook' => array(
942
- 'float_left' => '[wpsr_facebook style="box_count" width="48"]', // Added "width" in v2.4.2
943
  'bottom_fixed' => '[wpsr_facebook style="button_count"]',
944
  ),
 
 
 
 
945
  'StumbleUpon' => array(
946
  'float_left' => '[wpsr_stumbleupon type="5" script="0"]',
947
  'bottom_fixed' => '[wpsr_stumbleupon type="1" script="0"]',
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
+ Version: 2.4.9.5
5
  Plugin URI: http://www.aakashweb.com/
6
  Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar and Smart load feature. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
7
  Author: Aakash Chakravarthy
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
+ define('WPSR_VERSION', '2.4.9.5');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
939
  'bottom_fixed' => '[wpsr_digg type="DiggCompact" script="0"]',
940
  ),
941
  'Facebook' => array(
942
+ 'float_left' => '[wpsr_facebook style="box_count" width="48" ]', // Added "width" in v2.4.2
943
  'bottom_fixed' => '[wpsr_facebook style="button_count"]',
944
  ),
945
+ 'Facebook Like and Send' => array(
946
+ 'float_left' => '[wpsr_facebook style="box_count" width="70" type="send"]', // Added v2.4.9.5, thanks to Dan: http://bit.ly/1bSWWut
947
+ 'bottom_fixed' => '[wpsr_facebook style="button_count" type="send" ]',
948
+ ),
949
  'StumbleUpon' => array(
950
  'float_left' => '[wpsr_stumbleupon type="5" script="0"]',
951
  'bottom_fixed' => '[wpsr_stumbleupon type="1" script="0"]',