From 30128508514b5d6bfa1e065c313ca2caddacac4b Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Mon, 13 Mar 2023 14:09:25 -0700 Subject: [PATCH] Always use latest release of Smooth Generator GitHub [has a shortcut](https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases) for downloading the latest release of a package, regardless of the version number. Let's use it so we don't have to keep updating this when a new version is released. --- features/wc-smooth-generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/wc-smooth-generator.php b/features/wc-smooth-generator.php index 48f78f7..397c2b3 100644 --- a/features/wc-smooth-generator.php +++ b/features/wc-smooth-generator.php @@ -7,7 +7,7 @@ namespace jn; -define( 'WC_SMOOTH_GENERATOR_PLUGIN_URL', 'https://github.com/woocommerce/wc-smooth-generator/releases/download/1.0.4/wc-smooth-generator.zip' ); +define( 'WC_SMOOTH_GENERATOR_PLUGIN_URL', 'https://github.com/woocommerce/wc-smooth-generator/releases/latest/download/wc-smooth-generator.zip' ); add_action( 'jurassic_ninja_init',