Payment Form for PayPal Pro - Version 1.1.41

Version Description

  • Fixed magic quotes issue

=

Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Payment Form for PayPal Pro
Version 1.1.41
Comparing to
See all releases

Code changes from version 1.1.40 to 1.1.41

Files changed (2) hide show
  1. README.txt +5 -2
  2. cp_ppp.php +4 -1
README.txt CHANGED
@@ -251,7 +251,10 @@ A: In all plugin versions you can turn off IP tracking to avoid saving that user
251
= 1.1.40 =
252
* New responsive payment fields
253
254
== Upgrade Notice ==
255
256
- = 1.1.40 =
257
- * New responsive payment fields
251
= 1.1.40 =
252
* New responsive payment fields
253
254
+ = 1.1.41 =
255
+ * Fixed magic quotes issue
256
+
257
== Upgrade Notice ==
258
259
+ = 1.1.41 =
260
+ * Fixed magic quotes issue
cp_ppp.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Payment Form for PayPal Pro
4
Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
- Version: 1.1.40
7
Author: CodePeople
8
Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
License: GPL
@@ -1323,6 +1323,9 @@ function cp_ppp_update_script_method()
1323
1324
function cp_ppp_save_edition()
1325
{
1326
if (substr_count($_POST['editionarea'],"\\\""))
1327
$_POST["editionarea"] = stripcslashes($_POST["editionarea"]);
1328
if ($_POST["cfwpp_edit"] == 'js')
3
Plugin Name: Payment Form for PayPal Pro
4
Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
+ Version: 1.1.41
7
Author: CodePeople
8
Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
License: GPL
1323
1324
function cp_ppp_save_edition()
1325
{
1326
+ foreach ($_POST as $item => $value)
1327
+ if (!is_array($value))
1328
+ $_POST[$item] = stripcslashes($value);
1329
if (substr_count($_POST['editionarea'],"\\\""))
1330
$_POST["editionarea"] = stripcslashes($_POST["editionarea"]);
1331
if ($_POST["cfwpp_edit"] == 'js')