WordPress Simple PayPal Shopping Cart - Version 3.3.1

Version Description

Download this release

Release Info

Developer mra13
Plugin Icon 128x128 WordPress Simple PayPal Shopping Cart
Version 3.3.1
Comparing to
See all releases

Code changes from version 3.3.0 to 3.3.1

Files changed (1) hide show
  1. wp_shopping_cart.php +4 -3
wp_shopping_cart.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
- Version: v3.3.0
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=768
6
  Author: Ruhul Amin
7
  Author URI: http://www.tipsandtricks-hq.com/
@@ -306,7 +306,7 @@ function print_wp_shopping_cart()
306
  $output .= "
307
  <tr><td style='overflow: hidden;'><a href='".$item['cartLink']."'>".$item['name']."</a></td>
308
  <td style='text-align: center'><form method=\"post\" action=\"\" name='pcquantity' style='display: inline'>
309
- <input type=\"hidden\" name=\"product\" value=\"".$item['name']."\" />
310
 
311
  <input type='hidden' name='cquantity' value='1' /><input type='text' name='quantity' value='".$item['quantity']."' size='1' onchange='document.pcquantity.submit();' onkeypress='document.getElementById(\"pinfo\").style.display = \"\";' /></form></td>
312
  <td style='text-align: center'>".print_payment_currency(($item['price'] * $item['quantity']), $paypal_symbol, $decimal)."</td>
@@ -366,6 +366,7 @@ function print_wp_shopping_cart()
366
  <input type="hidden" name="cmd" value="_cart" />
367
  <input type="hidden" name="upload" value="1" />
368
  <input type="hidden" name="rm" value="2" />
 
369
  <input type="hidden" name="mrb" value="3FWGC6LFTMTUG" />';
370
  if ($use_affiliate_platform)
371
  {
@@ -594,7 +595,7 @@ function cart_current_page_url() {
594
  }
595
 
596
  function show_wp_cart_options_page () {
597
- $wp_simple_paypal_shopping_cart_version = "3.3.0";
598
  if (isset($_POST['info_update']))
599
  {
600
  update_option('cart_payment_currency', (string)$_POST["cart_payment_currency"]);
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
+ Version: v3.3.1
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=768
6
  Author: Ruhul Amin
7
  Author URI: http://www.tipsandtricks-hq.com/
306
  $output .= "
307
  <tr><td style='overflow: hidden;'><a href='".$item['cartLink']."'>".$item['name']."</a></td>
308
  <td style='text-align: center'><form method=\"post\" action=\"\" name='pcquantity' style='display: inline'>
309
+ <input type=\"hidden\" name=\"product\" value=\"".htmlspecialchars($item['name'])."\" />
310
 
311
  <input type='hidden' name='cquantity' value='1' /><input type='text' name='quantity' value='".$item['quantity']."' size='1' onchange='document.pcquantity.submit();' onkeypress='document.getElementById(\"pinfo\").style.display = \"\";' /></form></td>
312
  <td style='text-align: center'>".print_payment_currency(($item['price'] * $item['quantity']), $paypal_symbol, $decimal)."</td>
366
  <input type="hidden" name="cmd" value="_cart" />
367
  <input type="hidden" name="upload" value="1" />
368
  <input type="hidden" name="rm" value="2" />
369
+ <input type="hidden" name="charset" value="utf-8" />
370
  <input type="hidden" name="mrb" value="3FWGC6LFTMTUG" />';
371
  if ($use_affiliate_platform)
372
  {
595
  }
596
 
597
  function show_wp_cart_options_page () {
598
+ $wp_simple_paypal_shopping_cart_version = "3.3.1";
599
  if (isset($_POST['info_update']))
600
  {
601
  update_option('cart_payment_currency', (string)$_POST["cart_payment_currency"]);