@@ 2726-2733 (lines=8) @@ | ||
2723 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2724 | ||
2725 | // A flag for Jump Start so it's not shown again. |
|
2726 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2727 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2728 | ||
2729 | //Jump start is being dismissed send data to MC Stats |
|
2730 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2731 | ||
2732 | $jetpack->do_stats( 'server_side' ); |
|
2733 | } |
|
2734 | ||
2735 | return self::update_active_modules( $new ); |
|
2736 | } |
|
@@ 2688-2695 (lines=8) @@ | ||
2685 | Jetpack::catch_errors( false ); |
|
2686 | ||
2687 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2688 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2689 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2690 | ||
2691 | //Jump start is being dismissed send data to MC Stats |
|
2692 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2693 | ||
2694 | $jetpack->do_stats( 'server_side' ); |
|
2695 | } |
|
2696 | ||
2697 | if ( $redirect ) { |
|
2698 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |