From 0481a2bd0f08cc0f51e58c41171a27a797c6811d Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 18 Apr 2012 11:04:31 +0100 Subject: [PATCH] PayPal http_build_query & -> & on some PHP 5.3 servers --- classes/gateways/class-wc-paypal.php | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/gateways/class-wc-paypal.php b/classes/gateways/class-wc-paypal.php index 227dec6643e..2e52214b6c7 100644 --- a/classes/gateways/class-wc-paypal.php +++ b/classes/gateways/class-wc-paypal.php @@ -387,7 +387,7 @@ class WC_Paypal extends WC_Payment_Gateway { $paypal_args = $this->get_paypal_args( $order ); - $paypal_args = http_build_query( $paypal_args ); + $paypal_args = http_build_query( $paypal_args, '', '&' ); if ( $this->testmode == 'yes' ): $paypal_adr = $this->testurl . '?test_ipn=1&'; diff --git a/readme.txt b/readme.txt index a93b8909d05..2e7f4231ef0 100644 --- a/readme.txt +++ b/readme.txt @@ -145,6 +145,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc = 1.5.5 = * Fix - Replacing use of deprecated function get_current_theme() with wp_get_theme() +* Fix - PayPal http_build_query & -> & on some PHP 5.3 servers = 1.5.4 - 16/04/2012 = * Feature - Allow attributes to be added from the edit product page