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