Fixed emails not properly encoded in download URLs
This commit is contained in:
parent
2ef55327b8
commit
e97acc82b5
|
@ -446,7 +446,7 @@ function wc_get_customer_available_downloads( $customer_id ) {
|
||||||
array(
|
array(
|
||||||
'download_file' => $product_id,
|
'download_file' => $product_id,
|
||||||
'order' => $result->order_key,
|
'order' => $result->order_key,
|
||||||
'email' => $result->user_email,
|
'email' => urlencode( $result->user_email ),
|
||||||
'key' => $result->download_id
|
'key' => $result->download_id
|
||||||
),
|
),
|
||||||
home_url( '/' )
|
home_url( '/' )
|
||||||
|
|
Loading…
Reference in New Issue