@@ 2916-2923 (lines=8) @@ | ||
2913 | $new = array_filter( array_diff( $active, (array) $module ) ); |
|
2914 | ||
2915 | // A flag for Jump Start so it's not shown again. |
|
2916 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2917 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2918 | ||
2919 | //Jump start is being dismissed send data to MC Stats |
|
2920 | $jetpack->stat( 'jumpstart', 'manual,deactivated-'.$module ); |
|
2921 | ||
2922 | $jetpack->do_stats( 'server_side' ); |
|
2923 | } |
|
2924 | ||
2925 | return self::update_active_modules( $new ); |
|
2926 | } |
|
@@ 2878-2885 (lines=8) @@ | ||
2875 | Jetpack::catch_errors( false ); |
|
2876 | ||
2877 | // A flag for Jump Start so it's not shown again. Only set if it hasn't been yet. |
|
2878 | if ( 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) ) { |
|
2879 | Jetpack_Options::update_option( 'jumpstart', 'jetpack_action_taken' ); |
|
2880 | ||
2881 | //Jump start is being dismissed send data to MC Stats |
|
2882 | $jetpack->stat( 'jumpstart', 'manual,'.$module ); |
|
2883 | ||
2884 | $jetpack->do_stats( 'server_side' ); |
|
2885 | } |
|
2886 | ||
2887 | if ( $redirect ) { |
|
2888 | wp_safe_redirect( Jetpack::admin_url( 'page=jetpack' ) ); |