Version Description
- Escape a custom universal button's image URL
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.7.48 |
Comparing to | |
See all releases |
Code changes from version 1.7.47 to 1.7.48
- README.txt +4 -1
- add-to-any.php +2 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: buttons, share, icons, social media, share buttons, sharing, share button,
|
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, WhatsApp, Pinterest, Reddit, many more, and follow icons too.
|
10 |
|
@@ -346,6 +346,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
|
|
346 |
|
347 |
== Changelog ==
|
348 |
|
|
|
|
|
|
|
349 |
= 1.7.47 =
|
350 |
* Additional input validation & sanitization in admin
|
351 |
* Additional output escaping
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 1.7.48
|
8 |
|
9 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, WhatsApp, Pinterest, Reddit, many more, and follow icons too.
|
10 |
|
346 |
|
347 |
== Changelog ==
|
348 |
|
349 |
+
= 1.7.48 =
|
350 |
+
* Escape a custom universal button's image URL
|
351 |
+
|
352 |
= 1.7.47 =
|
353 |
* Additional input validation & sanitization in admin
|
354 |
* Additional output escaping
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: AddToAny Share Buttons
|
4 |
* Plugin URI: https://www.addtoany.com/
|
5 |
* Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, LinkedIn, Pinterest, WhatsApp and many more.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: AddToAny
|
8 |
* Author URI: https://www.addtoany.com/
|
9 |
* Text Domain: add-to-any
|
@@ -461,7 +461,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
461 |
} elseif ( ! empty( $button_text ) ) {
|
462 |
$button = $button_text;
|
463 |
} elseif ( ! empty( $button_src ) ) {
|
464 |
-
$button = '<img src="' . $button_src . '"' . $button_width . $button_height . $button_style . ' alt="Share">';
|
465 |
} else {
|
466 |
$button = '';
|
467 |
}
|
3 |
* Plugin Name: AddToAny Share Buttons
|
4 |
* Plugin URI: https://www.addtoany.com/
|
5 |
* Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, LinkedIn, Pinterest, WhatsApp and many more.
|
6 |
+
* Version: 1.7.48
|
7 |
* Author: AddToAny
|
8 |
* Author URI: https://www.addtoany.com/
|
9 |
* Text Domain: add-to-any
|
461 |
} elseif ( ! empty( $button_text ) ) {
|
462 |
$button = $button_text;
|
463 |
} elseif ( ! empty( $button_src ) ) {
|
464 |
+
$button = '<img src="' . esc_url( $button_src ) . '"' . $button_width . $button_height . $button_style . ' alt="Share">';
|
465 |
} else {
|
466 |
$button = '';
|
467 |
}
|