diff --git a/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester.php b/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester.php index ee9e0fb18f9..83012271c4e 100644 --- a/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester.php +++ b/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester.php @@ -343,7 +343,7 @@ class WC_Beta_Tester { * @return bool */ public function auto_update_woocommerce( $update, $plugin ) { - if ( true === $this->get_settings()->auto_update && 'woocommerce' === $item->slug ) { + if ( true === $this->get_settings()->auto_update && 'woocommerce' === $plugin->slug ) { return true; } else { return $update;