| @@ 613-622 (lines=10) @@ | ||
| 610 | $updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
|
| 611 | break; |
|
| 612 | ||
| 613 | case 'sharing_services': |
|
| 614 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 615 | break; |
|
| 616 | } |
|
| 617 | ||
| 618 | $sharer = new Sharing_Service(); |
|
| 619 | ||
| 620 | // If option value was the same, consider it done. |
|
| 621 | $updated = $value != $sharer->get_blog_services() ? $sharer->set_blog_services( $value['visible'], $value['hidden'] ) : true; |
|
| 622 | break; |
|
| 623 | ||
| 624 | case 'button_style': |
|
| 625 | case 'sharing_label': |
|
| @@ 2100-2108 (lines=9) @@ | ||
| 2097 | $options[ 'google_analytics_tracking_id' ][ 'current_value' ] = $code; |
|
| 2098 | break; |
|
| 2099 | ||
| 2100 | case 'sharedaddy': |
|
| 2101 | // It's local, but it must be broken apart since it's saved as an array. |
|
| 2102 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 2103 | break; |
|
| 2104 | } |
|
| 2105 | $sharer = new Sharing_Service(); |
|
| 2106 | $options = self::split_options( $options, $sharer->get_global_options() ); |
|
| 2107 | $options['sharing_services']['current_value'] = $sharer->get_blog_services(); |
|
| 2108 | break; |
|
| 2109 | ||
| 2110 | case 'after-the-deadline': |
|
| 2111 | if ( ! function_exists( 'AtD_get_options' ) ) { |
|