Add woocommerce_admin_version for backward compatibility

This commit is contained in:
moon 2022-04-04 21:25:48 -07:00
parent abbe855668
commit f3396df6c0
1 changed files with 2 additions and 0 deletions

View File

@ -493,6 +493,8 @@ class WC_Install {
*/
private static function update_wc_version() {
update_option( 'woocommerce_version', WC()->version );
// last version of the WCA is 3.3.1. We'll no longer release WCA separately.
update_option( 'woocommerce_admin_version', '3.3.1');
}
/**