From ff68f30c2c18d16dbde16407bc94801de47df67c Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Thu, 7 Nov 2019 13:24:14 -0500 Subject: [PATCH] Update opt-in value to 'yes' --- includes/admin/class-wc-admin-setup-wizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 91dde20e5a1..fe79e43ec94 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -505,7 +505,7 @@ class WC_Admin_Setup_Wizard { public function wc_setup_new_onboarding_save() { check_admin_referer( 'wc-setup' ); - update_option( 'wc_onboarding_opt_in', true ); + update_option( 'wc_onboarding_opt_in', 'yes' ); if ( function_exists( 'wc_admin_url' ) ) { $this->wc_setup_redirect_to_wc_admin_onboarding();