Skip to content

Commit

Permalink
Allow home_url() to determine the scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
toddlahman committed Jun 27, 2014
1 parent 7d78888 commit bad8225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public function get_downloadable_products() {
);

$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 ), home_url( '/', 'relative' ) ),
'download_url' => add_query_arg( array( 'download_file' => $result->product_id, 'order' => $result->order_key, 'email' => $result->user_email, 'key' => $result->download_id ), home_url( '/' ) ),
'download_id' => $result->download_id,
'product_id' => $result->product_id,
'download_name' => $download_name,
Expand Down

0 comments on commit bad8225

Please sign in to comment.