Setup wizard: set a flag when Jetpack is opted into.
This is to be picked up by the WooCommerce Services extension.
This commit is contained in:
parent
e9a62731d4
commit
4c66520989
|
@ -1557,6 +1557,9 @@ class WC_Admin_Setup_Wizard {
|
|||
// and we waited for the pending install to finish.
|
||||
delete_option( 'woocommerce_setup_queued_jetpack_install' );
|
||||
|
||||
// Leave a note for WooCommerce Services that Jetpack has been opted into.
|
||||
update_option( 'woocommerce_setup_jetpack_opted_in', true );
|
||||
|
||||
WC_Install::background_installer( 'jetpack', array(
|
||||
'file' => 'jetpack/jetpack.php',
|
||||
'name' => __( 'Jetpack', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue