Merge pull request #2879 from krbvroc1/download_file_non_ssl
Switch download_url to non-SSL
This commit is contained in:
commit
6f15a538d9
|
@ -643,7 +643,7 @@ class WC_Customer {
|
|||
}
|
||||
|
||||
$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,
|
||||
'product_id' => $result->product_id,
|
||||
'download_name' => $download_name,
|
||||
|
|
Loading…
Reference in New Issue