@@ 2777-2784 (lines=8) @@ | ||
2774 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2775 | ||
2776 | // A flag for Jump Start so it's not shown again. |
|
2777 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2778 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2779 | ||
2780 | //Jump start is being dismissed send data to MC Stats |
|
2781 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2782 | ||
2783 | $jetpack->do_stats( 'server_side' ); |
|
2784 | } |
|
2785 | ||
2786 | return self::update_active_modules( $new ); |
|
2787 | } |
|
@@ 2739-2746 (lines=8) @@ | ||
2736 | Jetpack::catch_errors( false ); |
|
2737 | ||
2738 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2739 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2740 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2741 | ||
2742 | //Jump start is being dismissed send data to MC Stats |
|
2743 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2744 | ||
2745 | $jetpack->do_stats( 'server_side' ); |
|
2746 | } |
|
2747 | ||
2748 | if ( $redirect ) { |
|
2749 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |