@@ 2558-2565 (lines=8) @@ | ||
2555 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2556 | ||
2557 | // A flag for Jump Start so it's not shown again. |
|
2558 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2559 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2560 | ||
2561 | //Jump start is being dismissed send data to MC Stats |
|
2562 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2563 | ||
2564 | $jetpack->do_stats( 'server_side' ); |
|
2565 | } |
|
2566 | ||
2567 | return self::update_active_modules( $new ); |
|
2568 | } |
|
@@ 2520-2527 (lines=8) @@ | ||
2517 | Jetpack::catch_errors( false ); |
|
2518 | ||
2519 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2520 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2521 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2522 | ||
2523 | //Jump start is being dismissed send data to MC Stats |
|
2524 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2525 | ||
2526 | $jetpack->do_stats( 'server_side' ); |
|
2527 | } |
|
2528 | ||
2529 | if ( $redirect ) { |
|
2530 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |