Warn against directly updating the plugin version constant.

This commit is contained in:
Jeff Stieler 2019-06-17 08:40:37 -06:00
parent e235dd3f40
commit d3be24891c
1 changed files with 2 additions and 0 deletions

View File

@ -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' );
}