Fixed emails not properly encoded in download URLs

This commit is contained in:
Matias Saggiorato 2016-08-01 15:22:39 -03:00 committed by GitHub
parent 2ef55327b8
commit e97acc82b5
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ function wc_get_customer_available_downloads( $customer_id ) {
array(
'download_file' => $product_id,
'order' => $result->order_key,
'email' => $result->user_email,
'email' => urlencode( $result->user_email ),
'key' => $result->download_id
),
home_url( '/' )