| @@ 2145-2153 (lines=9) @@ | ||
| 2142 | $options[ 'google_analytics_tracking_id' ][ 'current_value' ] = $code; |
|
| 2143 | break; |
|
| 2144 | ||
| 2145 | case 'sharedaddy': |
|
| 2146 | // It's local, but it must be broken apart since it's saved as an array. |
|
| 2147 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 2148 | break; |
|
| 2149 | } |
|
| 2150 | $sharer = new Sharing_Service(); |
|
| 2151 | $options = self::split_options( $options, $sharer->get_global_options() ); |
|
| 2152 | $options['sharing_services']['current_value'] = $sharer->get_blog_services(); |
|
| 2153 | break; |
|
| 2154 | ||
| 2155 | case 'after-the-deadline': |
|
| 2156 | if ( ! function_exists( 'AtD_get_options' ) ) { |
|
| @@ 677-686 (lines=10) @@ | ||
| 674 | $updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
|
| 675 | break; |
|
| 676 | ||
| 677 | case 'sharing_services': |
|
| 678 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 679 | break; |
|
| 680 | } |
|
| 681 | ||
| 682 | $sharer = new Sharing_Service(); |
|
| 683 | ||
| 684 | // If option value was the same, consider it done. |
|
| 685 | $updated = $value != $sharer->get_blog_services() ? $sharer->set_blog_services( $value['visible'], $value['hidden'] ) : true; |
|
| 686 | break; |
|
| 687 | ||
| 688 | case 'button_style': |
|
| 689 | case 'sharing_label': |
|