@@ 2932-2939 (lines=8) @@ | ||
2929 | Jetpack::catch_errors( false ); |
|
2930 | ||
2931 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2932 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2933 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2934 | ||
2935 | //Jump start is being dismissed send data to MC Stats |
|
2936 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2937 | ||
2938 | $jetpack->do_stats( 'server_side' ); |
|
2939 | } |
|
2940 | ||
2941 | if ( $redirect ) { |
|
2942 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |
|
@@ 2970-2977 (lines=8) @@ | ||
2967 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2968 | ||
2969 | // A flag for Jump Start so it's not shown again. |
|
2970 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2971 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2972 | ||
2973 | //Jump start is being dismissed send data to MC Stats |
|
2974 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2975 | ||
2976 | $jetpack->do_stats( 'server_side' ); |
|
2977 | } |
|
2978 | ||
2979 | return self::update_active_modules( $new ); |
|
2980 | } |