Version Description
- Fixing bug where all checkboxes get unchecked on first settings page save
- Fixing PHP error with getConfigs() on a non-object in addthis_social_widget.php on line 1086
Download this release
Release Info
Developer | jgrodel |
Plugin | WordPress Share Buttons Plugin – AddThis |
Version | 5.0.10 |
Comparing to | |
See all releases |
Code changes from version 5.0.9 to 5.0.10
- AddThisWordPressSharingButtonsPlugin.php +1 -1
- addthis_social_widget.php +18 -1
- readme.txt +9 -1
AddThisWordPressSharingButtonsPlugin.php
CHANGED
@@ -25,7 +25,7 @@ if (!class_exists('AddThisWordPressSharingButtonsPlugin')) {
|
|
25 |
Class AddThisWordPressSharingButtonsPlugin {
|
26 |
// implements AddThisWordPressPluginInterface {
|
27 |
|
28 |
-
static $version = '5.0.
|
29 |
static $settingsPageId = 'addthis_social_widget';
|
30 |
static $name = "AddThis Sharing Buttons";
|
31 |
static $productPrefix = 'wpp';
|
25 |
Class AddThisWordPressSharingButtonsPlugin {
|
26 |
// implements AddThisWordPressPluginInterface {
|
27 |
|
28 |
+
static $version = '5.0.10';
|
29 |
static $settingsPageId = 'addthis_social_widget';
|
30 |
static $name = "AddThis Sharing Buttons";
|
31 |
static $productPrefix = 'wpp';
|
addthis_social_widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: AddThis Sharing Buttons
|
4 |
* Plugin URI: http://www.addthis.com
|
5 |
* Description: Use the AddThis suite of website tools which includes sharing, following, recommended content, and conversion tools to help you make your website smarter. With AddThis, you can see how your users are engaging with your content, provide a personalized experience for each user and encourage them to share, subscribe or follow.
|
6 |
-
* Version: 5.0.
|
7 |
* Author: The AddThis Team
|
8 |
* Author URI: http://www.addthis.com/
|
9 |
* License: GPL2
|
@@ -721,6 +721,10 @@ if ($addthis_options['addthis_plugin_controls'] == "AddThis") {
|
|
721 |
$below_custom_styles = $above_custom_styles = '';
|
722 |
$options = $addThisConfigs->getConfigs();
|
723 |
|
|
|
|
|
|
|
|
|
724 |
if (isset($data['show_below'])) {
|
725 |
$options['below'] = 'none';
|
726 |
} elseif (isset($data['below'], $styles[$data['below']])) {
|
@@ -1083,6 +1087,19 @@ if ($addthis_options['addthis_plugin_controls'] == "AddThis") {
|
|
1083 |
function addthis_remove_tag($content)
|
1084 |
{
|
1085 |
global $addThisConfigs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1086 |
$options = $addThisConfigs->getConfigs();
|
1087 |
|
1088 |
$checkForToolbox = "addthis_toolbox";
|
3 |
* Plugin Name: AddThis Sharing Buttons
|
4 |
* Plugin URI: http://www.addthis.com
|
5 |
* Description: Use the AddThis suite of website tools which includes sharing, following, recommended content, and conversion tools to help you make your website smarter. With AddThis, you can see how your users are engaging with your content, provide a personalized experience for each user and encourage them to share, subscribe or follow.
|
6 |
+
* Version: 5.0.10
|
7 |
* Author: The AddThis Team
|
8 |
* Author URI: http://www.addthis.com/
|
9 |
* License: GPL2
|
721 |
$below_custom_styles = $above_custom_styles = '';
|
722 |
$options = $addThisConfigs->getConfigs();
|
723 |
|
724 |
+
if (!is_array($data)) {
|
725 |
+
return $options;
|
726 |
+
}
|
727 |
+
|
728 |
if (isset($data['show_below'])) {
|
729 |
$options['below'] = 'none';
|
730 |
} elseif (isset($data['below'], $styles[$data['below']])) {
|
1087 |
function addthis_remove_tag($content)
|
1088 |
{
|
1089 |
global $addThisConfigs;
|
1090 |
+
|
1091 |
+
if (!is_object($addThisConfigs)) {
|
1092 |
+
$addThisSharingButtonsPluginObject = new AddThisWordPressSharingButtonsPlugin();
|
1093 |
+
$cmsConnector = new AddThisWordPressConnector($addThisSharingButtonsPluginObject);
|
1094 |
+
$addThisConfigs = new AddThisConfigs($cmsConnector);
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
if( !is_object($addThisConfigs)
|
1098 |
+
|| !method_exists($addThisConfigs, 'getConfigs')
|
1099 |
+
) {
|
1100 |
+
return $content;
|
1101 |
+
}
|
1102 |
+
|
1103 |
$options = $addThisConfigs->getConfigs();
|
1104 |
|
1105 |
$checkForToolbox = "addthis_toolbox";
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: abramsm, srijith.v, vipinss, dnrahamim, jgrodel, bradaddthiscom, m
|
|
3 |
Tags: AddThis, addtoany, bookmark, bookmarking, email, e-mail, sharing buttons, share, share this, facebook, google+, pinterest, instagram, linkedin, whatsapp, social tools, website tools, twitter, content marketing, recommended content, conversion tool, subscription button, conversion tools, email tools, ecommerce tools, social marketing, personalization tools
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.2.2
|
6 |
-
Stable tag: 5.0.
|
7 |
|
8 |
AddThis provides the best sharing tools to help you make your website smarter.
|
9 |
|
@@ -76,6 +76,10 @@ PHP 5+ is preferred; PHP 4 is supported.
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= 5.0.9 =
|
80 |
* Updated troubleshooting information available to AddThis support to be more in line with other plugins, including providing the anonymous profile IDs to help in moving over statistics to registered profile IDs upon request.
|
81 |
* Improving the way variables are being shared to support global AddThis variables between AddThis plugins (not supported yet by any other plugin) and plugin specific settings. Specifically, this is to make sure things such as the profile ID or addthis_config settings are the same across all AddThis plugins.
|
@@ -354,6 +358,10 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
|
|
354 |
|
355 |
== Upgrade Notice ==
|
356 |
|
|
|
|
|
|
|
|
|
357 |
= 5.0.9 =
|
358 |
* Updated troubleshooting information available to AddThis support to be more in line with other plugins, including providing the anonymous profile IDs to help in moving over statistics to registered profile IDs upon request.
|
359 |
* Improving the way variables are being shared to support global AddThis variables between AddThis plugins (not supported yet by any other plugin) and plugin specific settings. Specifically, this is to make sure things such as the profile ID or addthis_config settings are the same across all AddThis plugins.
|
3 |
Tags: AddThis, addtoany, bookmark, bookmarking, email, e-mail, sharing buttons, share, share this, facebook, google+, pinterest, instagram, linkedin, whatsapp, social tools, website tools, twitter, content marketing, recommended content, conversion tool, subscription button, conversion tools, email tools, ecommerce tools, social marketing, personalization tools
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.2.2
|
6 |
+
Stable tag: 5.0.10
|
7 |
|
8 |
AddThis provides the best sharing tools to help you make your website smarter.
|
9 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 5.0.10 =
|
80 |
+
* Fixing bug where all checkboxes get unchecked on first settings page save
|
81 |
+
* Fixing PHP error with getConfigs() on a non-object in addthis_social_widget.php on line 1086
|
82 |
+
|
83 |
= 5.0.9 =
|
84 |
* Updated troubleshooting information available to AddThis support to be more in line with other plugins, including providing the anonymous profile IDs to help in moving over statistics to registered profile IDs upon request.
|
85 |
* Improving the way variables are being shared to support global AddThis variables between AddThis plugins (not supported yet by any other plugin) and plugin specific settings. Specifically, this is to make sure things such as the profile ID or addthis_config settings are the same across all AddThis plugins.
|
358 |
|
359 |
== Upgrade Notice ==
|
360 |
|
361 |
+
= 5.0.10 =
|
362 |
+
* Fixing bug where all checkboxes get unchecked on first settings page save
|
363 |
+
* Fixing PHP error with getConfigs() on a non-object in addthis_social_widget.php on line 1086
|
364 |
+
|
365 |
= 5.0.9 =
|
366 |
* Updated troubleshooting information available to AddThis support to be more in line with other plugins, including providing the anonymous profile IDs to help in moving over statistics to registered profile IDs upon request.
|
367 |
* Improving the way variables are being shared to support global AddThis variables between AddThis plugins (not supported yet by any other plugin) and plugin specific settings. Specifically, this is to make sure things such as the profile ID or addthis_config settings are the same across all AddThis plugins.
|