auto-patch 673-dev-dev01-2024-05-25T22_41_57
This commit is contained in:
@@ -64,7 +64,7 @@ class Minute_Control {
|
||||
wp_json_encode(
|
||||
array(
|
||||
'postid' => $post->ID,
|
||||
'nonce' => wp_create_nonce( $this->plugin->meta_prefix ),
|
||||
'nonce' => wp_create_nonce( META_PREFIX ),
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -197,7 +197,7 @@ class Minute_Control {
|
||||
public function inline_shortcode( $atts ) {
|
||||
global $post;
|
||||
|
||||
$data_url = isset( $atts['url'] ) ? esc_attr( 'data-url="' . $atts['url'] . '"' ) : '';
|
||||
$data_url = isset( $atts['url'] ) ? esc_attr( 'data-url=' . esc_url( $atts['url'] ) ) : '';
|
||||
|
||||
if ( is_archive() || is_front_page() || is_tag() ) {
|
||||
$data_url = esc_attr( 'data-url=' . get_permalink( $post->ID ) );
|
||||
|
||||
@@ -5,9 +5,9 @@ Tags: social buttons, sharethis, share this, social sharing, share buttons, soci
|
||||
Author URI: https://sharethis.com/
|
||||
Author: ShareThis
|
||||
Requires at least: 5.5
|
||||
Tested up to: 6.5.2
|
||||
Stable tag: 2.3.0
|
||||
Version: 2.3.0
|
||||
Tested up to: 6.5.3
|
||||
Stable tag: 2.3.1
|
||||
Version: 2.3.1
|
||||
|
||||
License: GPLv2 or later
|
||||
|
||||
@@ -73,6 +73,9 @@ We cache your ShareThis platform button configurations (social networks, button
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.3.1 =
|
||||
* Fix XSS security hole in shortcode
|
||||
|
||||
= 2.3.0 =
|
||||
* Fix 8.2 deprecations.
|
||||
* Test wp ver 6.5.2.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: ShareThis Share Buttons
|
||||
* Plugin URI: https://sharethis.com/
|
||||
* Description: Grow your website traffic with share buttons for 40+ social channels including Facebook, LinkedIn, Twitter, WhatsApp, and more.
|
||||
* Version: 2.3.0
|
||||
* Version: 2.3.1
|
||||
* Author: ShareThis
|
||||
* Author URI: https://sharethis.com/
|
||||
* Text Domain: sharethis-share-buttons
|
||||
@@ -28,7 +28,7 @@
|
||||
/**
|
||||
* Plugin version constant.
|
||||
*/
|
||||
const SHARETHIS_SHARE_BUTTONS_VERSION = '2.3.0';
|
||||
const SHARETHIS_SHARE_BUTTONS_VERSION = '2.3.1';
|
||||
|
||||
if ( version_compare( phpversion(), '5.3', '>=' ) ) {
|
||||
require_once __DIR__ . '/instance.php';
|
||||
|
||||
Reference in New Issue
Block a user