@@ 2720-2727 (lines=8) @@ | ||
2717 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2718 | ||
2719 | // A flag for Jump Start so it's not shown again. |
|
2720 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2721 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2722 | ||
2723 | //Jump start is being dismissed send data to MC Stats |
|
2724 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2725 | ||
2726 | $jetpack->do_stats( 'server_side' ); |
|
2727 | } |
|
2728 | ||
2729 | return self::update_active_modules( $new ); |
|
2730 | } |
|
@@ 2682-2689 (lines=8) @@ | ||
2679 | Jetpack::catch_errors( false ); |
|
2680 | ||
2681 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2682 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2683 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2684 | ||
2685 | //Jump start is being dismissed send data to MC Stats |
|
2686 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2687 | ||
2688 | $jetpack->do_stats( 'server_side' ); |
|
2689 | } |
|
2690 | ||
2691 | if ( $redirect ) { |
|
2692 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |