Update download URL in helper

This commit is contained in:
Mike Jolley 2019-03-26 11:36:41 +00:00
parent 0e19ca304d
commit 3a8c3b3813
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class WC_Helper {
}
$subscription['download_primary'] = true;
$subscription['download_url'] = $subscription['product_url'];
$subscription['download_url'] = 'https://woocommerce.com/my-account/downloads/';
if ( ! $subscription['local']['installed'] && ! empty( $updates[ $subscription['product_id'] ] ) ) {
$subscription['download_url'] = $updates[ $subscription['product_id'] ]['package'];
}