Merge pull request #11584 from saucal/fix-emails-not-encoded

Fixed emails not properly encoded in download URLs
This commit is contained in:
Mike Jolley 2016-08-02 14:01:47 +01:00 committed by GitHub
commit 21fb2d5eb7
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( '/' )