Version Description
- Security: Added esc_url to incoming shortcode URLs to avoid nafarious share links.
Download this release
Release Info
Developer | DavidoffNeal |
Plugin | Simple Share Buttons Adder |
Version | 7.6.21 |
Comparing to | |
See all releases |
Code changes from version 7.6.20 to 7.6.21
- instance.php +1 -1
- php/class-buttons.php +1 -1
- readme.txt +5 -2
- simple-share-buttons-adder.php +1 -1
instance.php
CHANGED
@@ -9,7 +9,7 @@ namespace SimpleShareButtonsAdder;
|
|
9 |
|
10 |
define( 'SSBA_FILE', __FILE__ );
|
11 |
define( 'SSBA_ROOT', dirname( __FILE__ ) );
|
12 |
-
define( 'SSBA_VERSION', '7.6.
|
13 |
|
14 |
global $simple_share_buttons_adder_plugin;
|
15 |
|
9 |
|
10 |
define( 'SSBA_FILE', __FILE__ );
|
11 |
define( 'SSBA_ROOT', dirname( __FILE__ ) );
|
12 |
+
define( 'SSBA_VERSION', '7.6.21' );
|
13 |
|
14 |
global $simple_share_buttons_adder_plugin;
|
15 |
|
php/class-buttons.php
CHANGED
@@ -232,7 +232,7 @@ class Buttons {
|
|
232 |
$str_page_title = get_the_title( $post->ID );
|
233 |
} else { // Using shortcode.
|
234 |
// Set page URL and title as set by user or get if needed.
|
235 |
-
$url_current_page = isset( $atts['url'] ) ? $atts['url'] : $this->ssba_current_url( $atts );
|
236 |
$str_page_title = ( isset( $atts['title'] ) ? $atts['title'] : get_the_title() );
|
237 |
}
|
238 |
|
232 |
$str_page_title = get_the_title( $post->ID );
|
233 |
} else { // Using shortcode.
|
234 |
// Set page URL and title as set by user or get if needed.
|
235 |
+
$url_current_page = isset( $atts['url'] ) ? esc_url( $atts['url'] ) : $this->ssba_current_url( $atts );
|
236 |
$str_page_title = ( isset( $atts['title'] ) ? $atts['title'] : get_the_title() );
|
237 |
}
|
238 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
|
3 |
Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 5.2.
|
6 |
-
Stable tag: 7.6.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
A simple plugin that enables you to add share buttons to all of your posts and/or pages.
|
@@ -66,6 +66,9 @@ Please visit the <a href="https://wordpress.org/support/plugin/simple-share-butt
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
69 |
= 7.6.20 =
|
70 |
* Add: Added new block for Gutenberg users.
|
71 |
|
2 |
Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
|
3 |
Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 5.2.3
|
6 |
+
Stable tag: 7.6.21
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
A simple plugin that enables you to add share buttons to all of your posts and/or pages.
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 7.6.21 =
|
70 |
+
* Security: Added esc_url to incoming shortcode URLs to avoid nafarious share links.
|
71 |
+
|
72 |
= 7.6.20 =
|
73 |
* Add: Added new block for Gutenberg users.
|
74 |
|
simple-share-buttons-adder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Simple Share Buttons Adder
|
4 |
* Plugin URI: https://simplesharebuttons.com
|
5 |
* Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
|
6 |
-
* Version: 7.6.
|
7 |
* Author: Simple Share Buttons
|
8 |
* Author URI: https://simplesharebuttons.com
|
9 |
* License: GPLv2
|
3 |
* Plugin Name: Simple Share Buttons Adder
|
4 |
* Plugin URI: https://simplesharebuttons.com
|
5 |
* Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
|
6 |
+
* Version: 7.6.21
|
7 |
* Author: Simple Share Buttons
|
8 |
* Author URI: https://simplesharebuttons.com
|
9 |
* License: GPLv2
|