Version Description
- 12/3/21
- Fix - Security fix
Download this release
Release Info
Developer | scottpaterson |
Plugin | PayPal Donation |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- easy-paypal-donation.php +1 -1
- includes/private_buttons.php +6 -0
- includes/private_orders.php +4 -1
- readme.txt +5 -1
easy-paypal-donation.php
CHANGED
@@ -10,7 +10,7 @@ Tags: donation, donate, donations, charity, paypal, paypal donation, ecommerce,
|
|
10 |
Author: Scott Paterson
|
11 |
Author URI: https://wpplugin.org
|
12 |
License: GPL2
|
13 |
-
Version: 1.3.
|
14 |
*/
|
15 |
|
16 |
/* Copyright 2014-2021 Scott Paterson
|
10 |
Author: Scott Paterson
|
11 |
Author URI: https://wpplugin.org
|
12 |
License: GPL2
|
13 |
+
Version: 1.3.3
|
14 |
*/
|
15 |
|
16 |
/* Copyright 2014-2021 Scott Paterson
|
includes/private_buttons.php
CHANGED
@@ -304,6 +304,12 @@ function wpedon_plugin_buttons() {
|
|
304 |
}
|
305 |
|
306 |
foreach ($post_id as $to_delete) {
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
if (!$to_delete) {
|
308 |
echo'<script>window.location="?page=wpedon_buttons&message=error"; </script>';
|
309 |
exit;
|
304 |
}
|
305 |
|
306 |
foreach ($post_id as $to_delete) {
|
307 |
+
$to_delete = intval($to_delete);
|
308 |
+
|
309 |
+
if (get_post_type($to_delete) != 'wpplugin_don_button') {
|
310 |
+
$to_delete = false;
|
311 |
+
}
|
312 |
+
|
313 |
if (!$to_delete) {
|
314 |
echo'<script>window.location="?page=wpedon_buttons&message=error"; </script>';
|
315 |
exit;
|
includes/private_orders.php
CHANGED
@@ -380,8 +380,11 @@ function wpedon_plugin_orders() {
|
|
380 |
}
|
381 |
|
382 |
foreach ($post_id as $to_delete) {
|
383 |
-
|
384 |
$to_delete = intval($to_delete);
|
|
|
|
|
|
|
|
|
385 |
|
386 |
if (!$to_delete) {
|
387 |
echo'<script>window.location="?page=wpedon_buttons&message=error"; </script>';
|
380 |
}
|
381 |
|
382 |
foreach ($post_id as $to_delete) {
|
|
|
383 |
$to_delete = intval($to_delete);
|
384 |
+
|
385 |
+
if (get_post_type($to_delete) != 'wpplugin_don_order') {
|
386 |
+
$to_delete = false;
|
387 |
+
}
|
388 |
|
389 |
if (!$to_delete) {
|
390 |
echo'<script>window.location="?page=wpedon_buttons&message=error"; </script>';
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Author URI: https://wpplugin.org
|
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 5.8
|
8 |
Requires PHP: 5.4
|
9 |
-
Stable tag: 1.3.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -94,6 +94,10 @@ Yes, there is no limit to the amount of PayPal donations buttons that you can pu
|
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
|
|
97 |
= 1.3.2 =
|
98 |
* 10/14/21
|
99 |
* Fix - Security Issues
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 5.8
|
8 |
Requires PHP: 5.4
|
9 |
+
Stable tag: 1.3.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.3.3 =
|
98 |
+
* 12/3/21
|
99 |
+
* Fix - Security fix
|
100 |
+
|
101 |
= 1.3.2 =
|
102 |
* 10/14/21
|
103 |
* Fix - Security Issues
|