Merge pull request #23146 from woocommerce/fix/22695

Update fallback download URL in helper
This commit is contained in:
Timmy Crawford 2019-03-27 15:01:10 -07:00 committed by GitHub
commit 4cad501098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'];
}