Wizard: Skip Activate step if Jetpack connected
This commit is contained in:
parent
7e9e58d75f
commit
02cf3a0ce9
|
@ -1352,8 +1352,6 @@ class WC_Admin_Setup_Wizard {
|
||||||
*/
|
*/
|
||||||
protected function wc_setup_activate_actions() {
|
protected function wc_setup_activate_actions() {
|
||||||
if (
|
if (
|
||||||
isset( $_GET['from'] ) &&
|
|
||||||
'wpcom' === $_GET['from'] &&
|
|
||||||
class_exists( 'Jetpack' ) &&
|
class_exists( 'Jetpack' ) &&
|
||||||
Jetpack::is_active()
|
Jetpack::is_active()
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue