@@ 2863-2870 (lines=8) @@ | ||
2860 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2861 | ||
2862 | // A flag for Jump Start so it's not shown again. |
|
2863 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2864 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2865 | ||
2866 | //Jump start is being dismissed send data to MC Stats |
|
2867 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2868 | ||
2869 | $jetpack->do_stats( 'server_side' ); |
|
2870 | } |
|
2871 | ||
2872 | return self::update_active_modules( $new ); |
|
2873 | } |
|
@@ 2825-2832 (lines=8) @@ | ||
2822 | Jetpack::catch_errors( false ); |
|
2823 | ||
2824 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2825 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2826 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2827 | ||
2828 | //Jump start is being dismissed send data to MC Stats |
|
2829 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2830 | ||
2831 | $jetpack->do_stats( 'server_side' ); |
|
2832 | } |
|
2833 | ||
2834 | if ( $redirect ) { |
|
2835 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |