From d3be24891c2c4a4ab77390223435926823c1943f Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Mon, 17 Jun 2019 08:40:37 -0600 Subject: [PATCH] Warn against directly updating the plugin version constant. --- plugins/woocommerce-admin/woocommerce-admin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/woocommerce-admin/woocommerce-admin.php b/plugins/woocommerce-admin/woocommerce-admin.php index 3c541403a92..799d9220a19 100755 --- a/plugins/woocommerce-admin/woocommerce-admin.php +++ b/plugins/woocommerce-admin/woocommerce-admin.php @@ -122,6 +122,8 @@ class WC_Admin_Feature_Plugin { $this->define( 'WC_ADMIN_DIST_CSS_FOLDER', 'dist/' ); $this->define( 'WC_ADMIN_FEATURES_PATH', WC_ADMIN_ABSPATH . 'includes/features/' ); $this->define( 'WC_ADMIN_PLUGIN_FILE', __FILE__ ); + // WARNING: Do not directly edit this version number constant. + // It is updated as part of the prebuild process from the package.json value. $this->define( 'WC_ADMIN_VERSION_NUMBER', '0.13.2' ); }