Merge pull request #5425 from superdave2u/master

Updated the get_download_url() function - fixes #5424
This commit is contained in:
Mike Jolley 2014-05-08 15:18:29 +01:00
commit 439ec0d4f6
1 changed files with 1 additions and 1 deletions

View File

@ -1256,7 +1256,7 @@ class WC_Order {
return add_query_arg( array(
'download_file' => $product_id,
'order' => $this->order_key,
'email' => $this->billing_email,
'email' => urlencode( $this->billing_email ),
'key' => $download_id
), trailingslashit( home_url() ) );
}