Version Description
- Reintroduced Custom Button Code box
Download this release
Release Info
Developer | srijith.v |
Plugin | WordPress Share Buttons Plugin – AddThis |
Version | 3.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.5 to 3.5.1
- addthis_settings_functions.php +9 -11
- addthis_social_widget.php +3 -3
- js/options-page.32.js +1 -22
- js/options-page.js +2 -23
- readme.txt +7 -1
- screenshot-3.png +0 -0
addthis_settings_functions.php
CHANGED
@@ -196,17 +196,15 @@ function _addthis_swap_first_two_elements (&$array, $key)
|
|
196 |
}
|
197 |
echo "<div class='$name"."_option select_row'><span class='radio'><input type='radio' $ischecked value='disable' id='disable_{$name}' name='addthis_settings[$name]' /></span><label for='disable_{$name}'>Do not show a sharing tool at the <strong>$legend</strong> of posts</label></div>";
|
198 |
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
echo "<textarea style='max-width:555px;margin-left:20px' rows='5' cols='100' name='addthis_settings[$name"."_custom_string]' class='$name"."_custom_string_input' />".esc_textarea($custom_string)."</textarea>";
|
209 |
-
}
|
210 |
|
211 |
$class = 'hidden';
|
212 |
$checked = '';
|
196 |
}
|
197 |
echo "<div class='$name"."_option select_row'><span class='radio'><input type='radio' $ischecked value='disable' id='disable_{$name}' name='addthis_settings[$name]' /></span><label for='disable_{$name}'>Do not show a sharing tool at the <strong>$legend</strong> of posts</label></div>";
|
198 |
|
199 |
+
$checked = '';
|
200 |
+
if ($option == 'custom_string' || $option == 'none' && 'custom_strin' == $addthis_default_options[$name] )
|
201 |
+
{
|
202 |
+
$checked = 'checked="checked"';
|
203 |
+
}
|
204 |
+
|
205 |
+
echo "<div class='$name"."_option select_row'><span class='radio mt4'><input $checked type='radio' value='custom_string' name='addthis_settings[$name]' id='$name"."_custom_string' /></span> <label for='{$name}_custom_string'>Custom button</label><div class='clear'></div></div>";
|
206 |
+
_e( sprintf("<div style='max-width: 555px;margin-left:20px' class='%s_custom_string_input'> This text box allows you to enter any AddThis markup that you wish. To see examples of what you can do, visit <a href='https://www.addthis.com/get/sharing'>AddThis.com Sharing Tools</a> and select any sharing tool. You can also check out our <a href='http://support.addthis.com/customer/portal/articles/381263-addthis-client-api#rendering-decoration'>Client API</a>. For any help you may need, please visit <a href='http://support.addthis.com'>AddThis Support</a></div>", $name ),'addthis_trans_domain');
|
207 |
+
echo "<textarea style='max-width:555px;margin-left:20px' rows='5' cols='100' name='addthis_settings[$name"."_custom_string]' class='$name"."_custom_string_input' />".esc_textarea($custom_string)."</textarea>";
|
|
|
|
|
208 |
|
209 |
$class = 'hidden';
|
210 |
$checked = '';
|
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
|
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');
|
50 |
-
define( 'ADDTHIS_PRODUCT_VERSION' , 'wpp-3.5');
|
51 |
define( 'ADDTHIS_ATVERSION', '300');
|
52 |
define( 'ADDTHIS_ATVERSION_MANUAL_UPDATE', -1);
|
53 |
define( 'ADDTHIS_ATVERSION_AUTO_UPDATE', 0);
|
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.1
|
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.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);
|
js/options-page.32.js
CHANGED
@@ -745,17 +745,6 @@ jQuery(document).ready(function($) {
|
|
745 |
if($('#disable_above').is(':checked')) {
|
746 |
$('#above-chosen-list').val('');
|
747 |
}
|
748 |
-
if($('#above_custom_string').length > 0) {
|
749 |
-
if ( ! $('#above_custom_string').is(':checked') ) {
|
750 |
-
var toConfirm = confirm("Upon saving the custom code that has been saved will be removed permanently!Do you wish to continue?");
|
751 |
-
if (toConfirm == true)
|
752 |
-
{
|
753 |
-
return true;
|
754 |
-
} else {
|
755 |
-
return false;
|
756 |
-
}
|
757 |
-
}
|
758 |
-
}
|
759 |
|
760 |
if($('#below-disable-smart-sharing').is(':checked')) {
|
761 |
if($('#button_below').is(':checked')) {
|
@@ -785,17 +774,7 @@ jQuery(document).ready(function($) {
|
|
785 |
if($('#disable_below').is(':checked')) {
|
786 |
$('#below-chosen-list').val('');
|
787 |
}
|
788 |
-
|
789 |
-
if ( ! $('#below_custom_string').is(':checked') ) {
|
790 |
-
var toConfirm = confirm("Upon saving the custom code that has been saved will be removed permanently!Do you wish to continue?");
|
791 |
-
if (toConfirm == true)
|
792 |
-
{
|
793 |
-
return true;
|
794 |
-
} else {
|
795 |
-
return false;
|
796 |
-
}
|
797 |
-
}
|
798 |
-
}
|
799 |
});
|
800 |
|
801 |
var s = $("#preview_floater");
|
745 |
if($('#disable_above').is(':checked')) {
|
746 |
$('#above-chosen-list').val('');
|
747 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
748 |
|
749 |
if($('#below-disable-smart-sharing').is(':checked')) {
|
750 |
if($('#button_below').is(':checked')) {
|
774 |
if($('#disable_below').is(':checked')) {
|
775 |
$('#below-chosen-list').val('');
|
776 |
}
|
777 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
778 |
});
|
779 |
|
780 |
var s = $("#preview_floater");
|
js/options-page.js
CHANGED
@@ -744,18 +744,7 @@ jQuery(document).ready(function($) {
|
|
744 |
if($('#disable_above').is(':checked')) {
|
745 |
$('#above-chosen-list').val('');
|
746 |
}
|
747 |
-
|
748 |
-
if ( ! $('#above_custom_string').is(':checked') ) {
|
749 |
-
var toConfirm = confirm("Upon saving the custom code that has been saved will be removed permanently!Do you wish to continue?");
|
750 |
-
if (toConfirm == true)
|
751 |
-
{
|
752 |
-
return true;
|
753 |
-
} else {
|
754 |
-
return false;
|
755 |
-
}
|
756 |
-
}
|
757 |
-
}
|
758 |
-
|
759 |
if($('#below-disable-smart-sharing').is(':checked')) {
|
760 |
if($('#button_below').is(':checked')) {
|
761 |
$('#below-chosen-list').val('');
|
@@ -784,17 +773,7 @@ jQuery(document).ready(function($) {
|
|
784 |
if($('#disable_below').is(':checked')) {
|
785 |
$('#below-chosen-list').val('');
|
786 |
}
|
787 |
-
|
788 |
-
if ( ! $('#below_custom_string').is(':checked') ) {
|
789 |
-
var toConfirm = confirm("Upon saving the custom code that has been saved will be removed permanently!Do you wish to continue?");
|
790 |
-
if (toConfirm == true)
|
791 |
-
{
|
792 |
-
return true;
|
793 |
-
} else {
|
794 |
-
return false;
|
795 |
-
}
|
796 |
-
}
|
797 |
-
}
|
798 |
});
|
799 |
|
800 |
var s = $("#preview_floater");
|
744 |
if($('#disable_above').is(':checked')) {
|
745 |
$('#above-chosen-list').val('');
|
746 |
}
|
747 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
748 |
if($('#below-disable-smart-sharing').is(':checked')) {
|
749 |
if($('#button_below').is(':checked')) {
|
750 |
$('#below-chosen-list').val('');
|
773 |
if($('#disable_below').is(':checked')) {
|
774 |
$('#below-chosen-list').val('');
|
775 |
}
|
776 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
777 |
});
|
778 |
|
779 |
var s = $("#preview_floater");
|
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
|
6 |
-
Stable tag: 3.5
|
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 =
|
80 |
* Drag and drop customization of buttons
|
81 |
* Better preview of buttons
|
@@ -233,6 +236,9 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
|
|
233 |
|
234 |
|
235 |
== Upgrade Notice ==
|
|
|
|
|
|
|
236 |
= 3.5 =
|
237 |
* Drag and drop customization of buttons, better preview of buttons
|
238 |
|
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
|
6 |
+
Stable tag: 3.5.1
|
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.1 =
|
80 |
+
* Reintroduced Custom Button Code box
|
81 |
+
|
82 |
= 3.5 =
|
83 |
* Drag and drop customization of buttons
|
84 |
* Better preview of buttons
|
236 |
|
237 |
|
238 |
== Upgrade Notice ==
|
239 |
+
= 3.5.1 =
|
240 |
+
* Reintroduced Custom Button Code box
|
241 |
+
|
242 |
= 3.5 =
|
243 |
* Drag and drop customization of buttons, better preview of buttons
|
244 |
|
screenshot-3.png
CHANGED
Binary file
|