|
@@ 927-933 (lines=7) @@
|
| 924 |
|
$updated = false; |
| 925 |
|
break; |
| 926 |
|
|
| 927 |
|
case 'google_analytics_tracking_id': |
| 928 |
|
$grouped_options = $grouped_options_current = (array) get_option( 'jetpack_wga' ); |
| 929 |
|
$grouped_options[ 'code' ] = $value; |
| 930 |
|
|
| 931 |
|
// If option value was the same, consider it done. |
| 932 |
|
$updated = $grouped_options_current != $grouped_options ? update_option( 'jetpack_wga', $grouped_options ) : true; |
| 933 |
|
break; |
| 934 |
|
|
| 935 |
|
case 'dismiss_dash_app_card': |
| 936 |
|
case 'dismiss_empty_stats_card': |
|
@@ 748-754 (lines=7) @@
|
| 745 |
|
case 'google': |
| 746 |
|
case 'bing': |
| 747 |
|
case 'pinterest': |
| 748 |
|
case 'yandex': |
| 749 |
|
$grouped_options = $grouped_options_current = (array) get_option( 'verification_services_codes' ); |
| 750 |
|
$grouped_options[$option] = $value; |
| 751 |
|
|
| 752 |
|
// If option value was the same, consider it done. |
| 753 |
|
$updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
| 754 |
|
break; |
| 755 |
|
|
| 756 |
|
case 'sharing_services': |
| 757 |
|
if ( ! class_exists( 'Sharing_Service' ) && ! include_once( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
@@ 868-874 (lines=7) @@
|
| 865 |
|
case 'blog_id': |
| 866 |
|
case 'do_not_track': |
| 867 |
|
case 'hide_smile': |
| 868 |
|
case 'version': |
| 869 |
|
$grouped_options = $grouped_options_current = (array) get_option( 'stats_options' ); |
| 870 |
|
$grouped_options[$option] = $value; |
| 871 |
|
|
| 872 |
|
// If option value was the same, consider it done. |
| 873 |
|
$updated = $grouped_options_current != $grouped_options ? update_option( 'stats_options', $grouped_options ) : true; |
| 874 |
|
break; |
| 875 |
|
|
| 876 |
|
case 'akismet_show_user_comments_approved': |
| 877 |
|
|