|
@@ 574-580 (lines=7) @@
|
| 571 |
|
|
| 572 |
|
case 'google': |
| 573 |
|
case 'bing': |
| 574 |
|
case 'pinterest': |
| 575 |
|
$grouped_options = $grouped_options_current = (array) get_option( 'verification_services_codes' ); |
| 576 |
|
$grouped_options[$option] = $value; |
| 577 |
|
|
| 578 |
|
// If option value was the same, consider it done. |
| 579 |
|
$updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
| 580 |
|
break; |
| 581 |
|
|
| 582 |
|
case 'sharing_services': |
| 583 |
|
if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
@@ 691-697 (lines=7) @@
|
| 688 |
|
case 'blog_id': |
| 689 |
|
case 'do_not_track': |
| 690 |
|
case 'hide_smile': |
| 691 |
|
case 'version': |
| 692 |
|
$grouped_options = $grouped_options_current = (array) get_option( 'stats_options' ); |
| 693 |
|
$grouped_options[$option] = $value; |
| 694 |
|
|
| 695 |
|
// If option value was the same, consider it done. |
| 696 |
|
$updated = $grouped_options_current != $grouped_options ? update_option( 'stats_options', $grouped_options ) : true; |
| 697 |
|
break; |
| 698 |
|
|
| 699 |
|
case Jetpack_Core_Json_Api_Endpoints::holiday_snow_option_name(): |
| 700 |
|
$updated = get_option( $option ) != $value ? update_option( $option, (bool) $value ? 'letitsnow' : '' ) : true; |