Version Description
- PHP error fixes for strict modes of PHP
Download this release
Release Info
Developer | jgrodel |
Plugin | WordPress Share Buttons Plugin – AddThis |
Version | 5.0.4 |
Comparing to | |
See all releases |
Code changes from version 5.0.3 to 5.0.4
- AddThisCmsConnectorInterface.php +1 -1
- AddThisWordPressConnector.php +4 -3
- addthis_social_widget.php +1 -4
- readme.txt +5 -2
AddThisCmsConnectorInterface.php
CHANGED
@@ -29,7 +29,7 @@ if (!interface_exists('AddThisCmsConnectorInterface')) {
|
|
29 |
public function getSharingButtonLocations();
|
30 |
public function getConfigs();
|
31 |
public function getContentTypes();
|
32 |
-
public function saveConfigs($configs);
|
33 |
public function getSettingsPageUrl();
|
34 |
public function getPluginCssFolderUrl();
|
35 |
public function getPluginImageFolderUrl();
|
29 |
public function getSharingButtonLocations();
|
30 |
public function getConfigs();
|
31 |
public function getContentTypes();
|
32 |
+
public function saveConfigs($configs = null);
|
33 |
public function getSettingsPageUrl();
|
34 |
public function getPluginCssFolderUrl();
|
35 |
public function getPluginImageFolderUrl();
|
AddThisWordPressConnector.php
CHANGED
@@ -21,11 +21,12 @@
|
|
21 |
|
22 |
require_once('AddThisCmsConnectorInterface.php');
|
23 |
|
24 |
-
if (!class_exists('
|
25 |
-
Class
|
|
|
26 |
|
27 |
static $settingsVariableName = 'addthis_settings';
|
28 |
-
static $pluginVersion = '5.0.
|
29 |
static $settingsPageId = 'addthis_social_widget';
|
30 |
static $anonymousProfileIdPrefix = 'wp';
|
31 |
static $productPrefix = 'wpp';
|
21 |
|
22 |
require_once('AddThisCmsConnectorInterface.php');
|
23 |
|
24 |
+
if (!class_exists('AddThisWordpressConnector')) {
|
25 |
+
Class AddThisWordpressConnector {
|
26 |
+
// implements AddThisCmsConnectorInterface {
|
27 |
|
28 |
static $settingsVariableName = 'addthis_settings';
|
29 |
+
static $pluginVersion = '5.0.4';
|
30 |
static $settingsPageId = 'addthis_social_widget';
|
31 |
static $anonymousProfileIdPrefix = 'wp';
|
32 |
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
|
@@ -1424,7 +1424,6 @@ if ($addthis_options['addthis_plugin_controls'] == "AddThis") {
|
|
1424 |
$fieldName = $fieldList[0]['fieldName'];
|
1425 |
$display = (isset($options[$fieldName]) && $options[$fieldName]) ? true : false;
|
1426 |
} else {
|
1427 |
-
echo "templateType wasn't a string :-( <br />\n";
|
1428 |
$display = false;
|
1429 |
}
|
1430 |
|
@@ -1687,7 +1686,6 @@ EOF;
|
|
1687 |
</ul>
|
1688 |
|
1689 |
<div id="tabs-1">
|
1690 |
-
<?php echo $version_notification_content; ?>
|
1691 |
<input
|
1692 |
type="hidden"
|
1693 |
value="<?php echo $options['atversion']?>"
|
@@ -1861,7 +1859,6 @@ EOF;
|
|
1861 |
</div>
|
1862 |
</div>
|
1863 |
<div id="tabs-2">
|
1864 |
-
<?php echo $version_notification_content?>
|
1865 |
|
1866 |
<div class="Card">
|
1867 |
<div class="Card-hd">
|
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.4
|
7 |
* Author: The AddThis Team
|
8 |
* Author URI: http://www.addthis.com/
|
9 |
* License: GPL2
|
1424 |
$fieldName = $fieldList[0]['fieldName'];
|
1425 |
$display = (isset($options[$fieldName]) && $options[$fieldName]) ? true : false;
|
1426 |
} else {
|
|
|
1427 |
$display = false;
|
1428 |
}
|
1429 |
|
1686 |
</ul>
|
1687 |
|
1688 |
<div id="tabs-1">
|
|
|
1689 |
<input
|
1690 |
type="hidden"
|
1691 |
value="<?php echo $options['atversion']?>"
|
1859 |
</div>
|
1860 |
</div>
|
1861 |
<div id="tabs-2">
|
|
|
1862 |
|
1863 |
<div class="Card">
|
1864 |
<div class="Card-hd">
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Smart Website Tools by AddThis ===
|
2 |
-
Contributors: abramsm, srijith.v, vipinss, dnrahamim, jgrodel, bradaddthiscom, mkitzman, kirk-at-addthis, addthis_paul, addthis_matt
|
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, social, recommended content, and conversion tools to help you make
|
9 |
your website smarter.
|
@@ -87,6 +87,9 @@ PHP 5+ is preferred; PHP 4 is supported.
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
90 |
= 5.0.3 =
|
91 |
* Reduced the size of the plugin by removing unused images
|
92 |
|
1 |
=== Smart Website Tools by AddThis ===
|
2 |
+
Contributors: abramsm, srijith.v, vipinss, dnrahamim, jgrodel, bradaddthiscom, mkitzman, kirk-at-addthis, addthis_paul, addthis_matt, addthis_elsa, ribin_addthis
|
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.4
|
7 |
|
8 |
AddThis provides the best sharing, social, recommended content, and conversion tools to help you make
|
9 |
your website smarter.
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 5.0.4 =
|
91 |
+
* PHP error fixes for strict modes of PHP
|
92 |
+
|
93 |
= 5.0.3 =
|
94 |
* Reduced the size of the plugin by removing unused images
|
95 |
|