Merge pull request #2879 from krbvroc1/download_file_non_ssl

Switch download_url to non-SSL
This commit is contained in:
Mike Jolley 2013-04-05 05:25:22 -07:00
commit 6f15a538d9
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ class WC_Customer {
} }
$downloads[] = array( $downloads[] = array(
'download_url' => add_query_arg( array( 'download_file' => $result->product_id, 'order' => $result->order_key, 'email' => $result->user_email, 'key' => $result->download_id ), trailingslashit( home_url() ) ), 'download_url' => add_query_arg( array( 'download_file' => $result->product_id, 'order' => $result->order_key, 'email' => $result->user_email, 'key' => $result->download_id ), trailingslashit( home_url( '', 'http' ) ) ),
'download_id' => $result->download_id, 'download_id' => $result->download_id,
'product_id' => $result->product_id, 'product_id' => $result->product_id,
'download_name' => $download_name, 'download_name' => $download_name,