Version Description
- Removing unusued AJAX endpoint with XSRF vulnerability.
Download this release
Release Info
Developer | jgrodel |
Plugin | WordPress Share Buttons Plugin – AddThis |
Version | 5.3.6 |
Comparing to | |
See all releases |
Code changes from version 5.3.5 to 5.3.6
- AddThisWordPressConnector.php +0 -10
- AddThisWordPressSharingButtonsPlugin.php +1 -1
- addthis-for-wordpress.php +0 -21
- addthis_social_widget.php +1 -1
- js/addthis-for-wordpress.js +0 -38
- readme.txt +8 -2
AddThisWordPressConnector.php
CHANGED
@@ -703,16 +703,6 @@ if (!class_exists('AddThisWordPressConnector')) {
|
|
703 |
);
|
704 |
|
705 |
wp_enqueue_script('addthis_options_page_script',$optionsJsUrl, $dependencies);
|
706 |
-
|
707 |
-
if ($this->configs['addthis_plugin_controls'] == 'AddThis') {
|
708 |
-
wp_enqueue_script(
|
709 |
-
'addThisScript',
|
710 |
-
$jsRootUrl . 'addthis-for-wordpress.js'
|
711 |
-
);
|
712 |
-
|
713 |
-
return;
|
714 |
-
}
|
715 |
-
|
716 |
wp_enqueue_script('jquery-core');
|
717 |
wp_enqueue_script('jquery-ui-core');
|
718 |
wp_enqueue_script('jquery-ui-widget');
|
703 |
);
|
704 |
|
705 |
wp_enqueue_script('addthis_options_page_script',$optionsJsUrl, $dependencies);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
wp_enqueue_script('jquery-core');
|
707 |
wp_enqueue_script('jquery-ui-core');
|
708 |
wp_enqueue_script('jquery-ui-widget');
|
AddThisWordPressSharingButtonsPlugin.php
CHANGED
@@ -25,7 +25,7 @@ if (!class_exists('AddThisWordPressSharingButtonsPlugin')) {
|
|
25 |
Class AddThisWordPressSharingButtonsPlugin {
|
26 |
// implements AddThisWordPressPluginInterface {
|
27 |
|
28 |
-
static $version = '5.3.
|
29 |
static $settingsPageId = 'addthis_social_widget';
|
30 |
static $name = "Share Buttons by AddThis";
|
31 |
static $productPrefix = 'wpp';
|
25 |
Class AddThisWordPressSharingButtonsPlugin {
|
26 |
// implements AddThisWordPressPluginInterface {
|
27 |
|
28 |
+
static $version = '5.3.6';
|
29 |
static $settingsPageId = 'addthis_social_widget';
|
30 |
static $name = "Share Buttons by AddThis";
|
31 |
static $productPrefix = 'wpp';
|
addthis-for-wordpress.php
CHANGED
@@ -61,7 +61,6 @@ class Addthis_Wordpress
|
|
61 |
$this->addThisConfigs = $addThisConfigs;
|
62 |
$this->cmsConnector = $cmsConnector;
|
63 |
// Save async load settings via ajax request
|
64 |
-
add_action( 'wp_ajax_at_async_loading', array($this, 'addthisAsyncLoading'));
|
65 |
$this->_upgrade = $upgrade;
|
66 |
$this->_getVariables = $_GET;
|
67 |
$this->_postVariables = $_POST;
|
@@ -204,26 +203,6 @@ class Addthis_Wordpress
|
|
204 |
return $successReturn;
|
205 |
}
|
206 |
|
207 |
-
/**
|
208 |
-
* Check if there is request to update async loading
|
209 |
-
*
|
210 |
-
* @return boolean
|
211 |
-
*/
|
212 |
-
private function _checkAsyncLoading()
|
213 |
-
{
|
214 |
-
$successReturn = isset ($this->_postVariables['async_loading']);
|
215 |
-
|
216 |
-
return $successReturn;
|
217 |
-
}
|
218 |
-
|
219 |
-
public function addthisAsyncLoading()
|
220 |
-
{
|
221 |
-
if (current_user_can( 'manage_options' ) && $this->_checkAsyncLoading()) {
|
222 |
-
$updateResult = $this->updateSettings($this->_postVariables);
|
223 |
-
}
|
224 |
-
die; //exit from the ajax request
|
225 |
-
}
|
226 |
-
|
227 |
/**
|
228 |
* Check pubid from addthis failure
|
229 |
*
|
61 |
$this->addThisConfigs = $addThisConfigs;
|
62 |
$this->cmsConnector = $cmsConnector;
|
63 |
// Save async load settings via ajax request
|
|
|
64 |
$this->_upgrade = $upgrade;
|
65 |
$this->_getVariables = $_GET;
|
66 |
$this->_postVariables = $_POST;
|
203 |
return $successReturn;
|
204 |
}
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
/**
|
207 |
* Check pubid from addthis failure
|
208 |
*
|
addthis_social_widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Share Buttons by AddThis
|
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.3.
|
7 |
* Author: The AddThis Team
|
8 |
* Author URI: http://www.addthis.com/
|
9 |
* License: GPL2
|
3 |
* Plugin Name: Share Buttons by AddThis
|
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.3.6
|
7 |
* Author: The AddThis Team
|
8 |
* Author URI: http://www.addthis.com/
|
9 |
* License: GPL2
|
js/addthis-for-wordpress.js
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* +--------------------------------------------------------------------------+
|
3 |
-
* | Copyright (c) 2008-2016 AddThis, LLC |
|
4 |
-
* +--------------------------------------------------------------------------+
|
5 |
-
* | This program is free software; you can redistribute it and/or modify |
|
6 |
-
* | it under the terms of the GNU General Public License as published by |
|
7 |
-
* | the Free Software Foundation; either version 2 of the License, or |
|
8 |
-
* | (at your option) any later version. |
|
9 |
-
* | |
|
10 |
-
* | This program is distributed in the hope that it will be useful, |
|
11 |
-
* | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
-
* | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
-
* | GNU General Public License for more details. |
|
14 |
-
* | |
|
15 |
-
* | You should have received a copy of the GNU General Public License |
|
16 |
-
* | along with this program; if not, write to the Free Software |
|
17 |
-
* | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
18 |
-
* +--------------------------------------------------------------------------+
|
19 |
-
*/
|
20 |
-
|
21 |
-
/*
|
22 |
-
* Javascript for Addthis for Wordpress plugin
|
23 |
-
*/
|
24 |
-
|
25 |
-
jQuery(document).ready(function(jQuery) {
|
26 |
-
jQuery('#async_load').change(function(){
|
27 |
-
|
28 |
-
var syncLoad = jQuery(this).is(':checked')?1:0;
|
29 |
-
var data = {
|
30 |
-
action: "at_async_loading",
|
31 |
-
async_loading: syncLoad
|
32 |
-
};
|
33 |
-
jQuery('.at-loader').css('visibility', 'visible');
|
34 |
-
jQuery.post(ajaxurl, data, function(response){
|
35 |
-
jQuery('.at-loader').css('visibility', 'hidden');
|
36 |
-
});
|
37 |
-
});
|
38 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: abramsm, srijith.v, vipinss, dnrahamim, jgrodel, bradaddthiscom, mkitzman, addthis_paul, addthis_matt, addthis_elsa, ribin_addthis, AddThis_Mike
|
3 |
Tags: AddThis, bookmark, bookmarking, Facebook, LinkedIn, mobile, mobile sharing, Pinterest, plugin, share, share button, share buttons, share buttons plugin, sharing, sharing buttons, sharing sidebar, sidebar, social buttons, social tools, twitter, widget
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 5.3.
|
7 |
|
8 |
Increase social traffic to your website with WordPress share buttons that connect directly to over 200 social networks.
|
9 |
|
@@ -112,6 +112,9 @@ In the screen options you can enable the AddThis meta box. Check the box and sav
|
|
112 |
|
113 |
== Changelog ==
|
114 |
|
|
|
|
|
|
|
115 |
= 5.3.5 =
|
116 |
* Removing data-title and addthis:title attributes from inline tool HTML so that Open Graph tags can be used.
|
117 |
* Replacing deprecated update_usermeta with update_user_meta
|
@@ -470,6 +473,9 @@ Fixed nondeterministic bug with the_title(), causing the title to occasionally a
|
|
470 |
|
471 |
== Upgrade Notice ==
|
472 |
|
|
|
|
|
|
|
473 |
= 5.3.5 =
|
474 |
Removing data-title and addthis:title attributes from inline tool HTML so that Open Graph tags can be used. Replacing some deprecated functions. Compatibility improvements for <a href="https://wordpress.org/plugins/addthis-follow/">Follow Buttons by AddThis</a>, <a href="https://wordpress.org/plugins/addthis-related-posts/">Related Posts by AddThis</a>, <a href="https://wordpress.org/plugins/addthis-all/">Website Tools by AddThis</a> & <a href="https://wordpress.org/plugins/addthis-smart-layers/">Smart Layers by AddThis</a>.
|
475 |
|
2 |
Contributors: abramsm, srijith.v, vipinss, dnrahamim, jgrodel, bradaddthiscom, mkitzman, addthis_paul, addthis_matt, addthis_elsa, ribin_addthis, AddThis_Mike
|
3 |
Tags: AddThis, bookmark, bookmarking, Facebook, LinkedIn, mobile, mobile sharing, Pinterest, plugin, share, share button, share buttons, share buttons plugin, sharing, sharing buttons, sharing sidebar, sidebar, social buttons, social tools, twitter, widget
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 4.8
|
6 |
+
Stable tag: 5.3.6
|
7 |
|
8 |
Increase social traffic to your website with WordPress share buttons that connect directly to over 200 social networks.
|
9 |
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 5.3.6 =
|
116 |
+
* Removing unusued AJAX endpoint with XSRF vulnerability.
|
117 |
+
|
118 |
= 5.3.5 =
|
119 |
* Removing data-title and addthis:title attributes from inline tool HTML so that Open Graph tags can be used.
|
120 |
* Replacing deprecated update_usermeta with update_user_meta
|
473 |
|
474 |
== Upgrade Notice ==
|
475 |
|
476 |
+
= 5.3.6 =
|
477 |
+
Removing unusued AJAX endpoint with XSRF vulnerability.
|
478 |
+
|
479 |
= 5.3.5 =
|
480 |
Removing data-title and addthis:title attributes from inline tool HTML so that Open Graph tags can be used. Replacing some deprecated functions. Compatibility improvements for <a href="https://wordpress.org/plugins/addthis-follow/">Follow Buttons by AddThis</a>, <a href="https://wordpress.org/plugins/addthis-related-posts/">Related Posts by AddThis</a>, <a href="https://wordpress.org/plugins/addthis-all/">Website Tools by AddThis</a> & <a href="https://wordpress.org/plugins/addthis-smart-layers/">Smart Layers by AddThis</a>.
|
481 |
|