Version Description
- New: Compatible up to WordPress 6.1
- Fix: Fatal error in RolingCurlX library on PHP 8
Download this release
Release Info
Developer | ReneHermi |
Plugin | Social Media Share Buttons | MashShare |
Version | 3.8.6 |
Comparing to | |
See all releases |
Code changes from version 3.8.5 to 3.8.6
- includes/admin/settings/display-settings.php +1 -1
- includes/libraries/RolingCurlX.php +10 -2
- mashshare.php +2 -2
- readme.txt +7 -14
includes/admin/settings/display-settings.php
CHANGED
@@ -109,7 +109,7 @@ function mashsb_do_settings_fields( $page, $section ) {
|
|
109 |
// Do not show the helper text when its empty
|
110 |
if (!empty($field['args']['desc']) ){
|
111 |
echo '<a class="mashsb-helper" href="#"></a>';
|
112 |
-
echo '<div class="mashsb-message">' .
|
113 |
}
|
114 |
echo '</div>';
|
115 |
echo '</th>';
|
109 |
// Do not show the helper text when its empty
|
110 |
if (!empty($field['args']['desc']) ){
|
111 |
echo '<a class="mashsb-helper" href="#"></a>';
|
112 |
+
echo '<div class="mashsb-message">' . wp_kses_post($field['args']['desc']) . '</div>';
|
113 |
}
|
114 |
echo '</div>';
|
115 |
echo '</th>';
|
includes/libraries/RolingCurlX.php
CHANGED
@@ -119,7 +119,11 @@ Class RollingCurlX {
|
|
119 |
}
|
120 |
|
121 |
//get request info
|
122 |
-
|
|
|
|
|
|
|
|
|
123 |
$request =& $this->requests[$requests_map[$key]]; //map handler to request index to get request info
|
124 |
$url = $request['url'];
|
125 |
$callback = $request['callback'];
|
@@ -155,7 +159,11 @@ Class RollingCurlX {
|
|
155 |
curl_multi_add_handle($multi_handle, $ch);
|
156 |
|
157 |
//add curl handle of a new request to the request map
|
158 |
-
|
|
|
|
|
|
|
|
|
159 |
$requests_map[$key] = $i;
|
160 |
$i++;
|
161 |
}
|
119 |
}
|
120 |
|
121 |
//get request info
|
122 |
+
if(is_resource($ch)) {
|
123 |
+
$key = (string) $ch;
|
124 |
+
} else {
|
125 |
+
$key = spl_object_hash($ch);
|
126 |
+
}
|
127 |
$request =& $this->requests[$requests_map[$key]]; //map handler to request index to get request info
|
128 |
$url = $request['url'];
|
129 |
$callback = $request['callback'];
|
159 |
curl_multi_add_handle($multi_handle, $ch);
|
160 |
|
161 |
//add curl handle of a new request to the request map
|
162 |
+
if(is_resource($ch)) {
|
163 |
+
$key = (string) $ch;
|
164 |
+
} else {
|
165 |
+
$key = spl_object_hash($ch);
|
166 |
+
}
|
167 |
$requests_map[$key] = $i;
|
168 |
$i++;
|
169 |
}
|
mashshare.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Description: Mashshare is a Share functionality inspired by the the great website Mashable for Facebook and Twitter. More networks available.
|
7 |
* Author: René Hermenau
|
8 |
* Author URI: https://www.mashshare.net
|
9 |
-
* Version: 3.8.
|
10 |
* Text Domain: mashsb
|
11 |
* Domain Path: /languages
|
12 |
|
@@ -35,7 +35,7 @@ if( !defined( 'ABSPATH' ) )
|
|
35 |
|
36 |
// Plugin version
|
37 |
if( !defined( 'MASHSB_VERSION' ) ) {
|
38 |
-
define( 'MASHSB_VERSION', '3.8.
|
39 |
}
|
40 |
|
41 |
// Debug mode
|
6 |
* Description: Mashshare is a Share functionality inspired by the the great website Mashable for Facebook and Twitter. More networks available.
|
7 |
* Author: René Hermenau
|
8 |
* Author URI: https://www.mashshare.net
|
9 |
+
* Version: 3.8.6
|
10 |
* Text Domain: mashsb
|
11 |
* Domain Path: /languages
|
12 |
|
35 |
|
36 |
// Plugin version
|
37 |
if( !defined( 'MASHSB_VERSION' ) ) {
|
38 |
+
define( 'MASHSB_VERSION', '3.8.6' );
|
39 |
}
|
40 |
|
41 |
// Debug mode
|
readme.txt
CHANGED
@@ -8,8 +8,8 @@ License: GPLv2 or later
|
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Tags: Share buttons, Social Sharing, social media, Facebook, Twitter, Subscribe, social share buttons
|
10 |
Requires at least: 3.6+
|
11 |
-
Tested up to: 6.
|
12 |
-
Stable tag: 3.8.
|
13 |
Requires PHP: 5.6
|
14 |
|
15 |
Social Media Share Buttons for Twitter, Facebook, and other social networks. Highly customizable Social Media ecosystem
|
@@ -249,6 +249,10 @@ Read here more about this: http://docs.mashshare.net/article/10-facebook-is-show
|
|
249 |
|
250 |
== Changelog ==
|
251 |
|
|
|
|
|
|
|
|
|
252 |
= 3.8.5 =
|
253 |
* Fix: Add missing sanitization and escaping of input and output values to prevent possible XSS attempts.
|
254 |
|
@@ -334,15 +338,4 @@ https://www.mashshare.net/changelog/
|
|
334 |
|
335 |
== Upgrade Notice ==
|
336 |
|
337 |
-
|
338 |
-
* Fix: Do better sanitization on input and output values. Fix a low severity Authenticated Stored Cross-Site Scripting (XSS) vulnerability that can only be exploited by authenticated damin users
|
339 |
-
|
340 |
-
= 3.8.3 =
|
341 |
-
* Fix: Undefined warning on php 8.1
|
342 |
-
|
343 |
-
= 3.8.2 =
|
344 |
-
* New: Compatible up to WordPress 6.0.1
|
345 |
-
* Fix: Do sanitization on input values. Fix a low severity Authenticated Stored Cross-Site Scripting (XSS) vulnerability
|
346 |
-
* Tweak: Move jQuery nearest library on top of MashShare JS
|
347 |
-
* Tweak: Implement PHP 8.1 compatibility support
|
348 |
-
* Tweak: Clean up code and
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Tags: Share buttons, Social Sharing, social media, Facebook, Twitter, Subscribe, social share buttons
|
10 |
Requires at least: 3.6+
|
11 |
+
Tested up to: 6.1
|
12 |
+
Stable tag: 3.8.6
|
13 |
Requires PHP: 5.6
|
14 |
|
15 |
Social Media Share Buttons for Twitter, Facebook, and other social networks. Highly customizable Social Media ecosystem
|
249 |
|
250 |
== Changelog ==
|
251 |
|
252 |
+
= 3.8.6 =
|
253 |
+
* New: Compatible up to WordPress 6.1
|
254 |
+
* Fix: Fatal error in RolingCurlX library on PHP 8
|
255 |
+
|
256 |
= 3.8.5 =
|
257 |
* Fix: Add missing sanitization and escaping of input and output values to prevent possible XSS attempts.
|
258 |
|
338 |
|
339 |
== Upgrade Notice ==
|
340 |
|
341 |
+
Recommended update for all php 8.x users
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|