| @@ 2127-2135 (lines=9) @@ | ||
| 2124 | $options[ 'google_analytics_tracking_id' ][ 'current_value' ] = $code; |
|
| 2125 | break; |
|
| 2126 | ||
| 2127 | case 'sharedaddy': |
|
| 2128 | // It's local, but it must be broken apart since it's saved as an array. |
|
| 2129 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 2130 | break; |
|
| 2131 | } |
|
| 2132 | $sharer = new Sharing_Service(); |
|
| 2133 | $options = self::split_options( $options, $sharer->get_global_options() ); |
|
| 2134 | $options['sharing_services']['current_value'] = $sharer->get_blog_services(); |
|
| 2135 | break; |
|
| 2136 | ||
| 2137 | case 'after-the-deadline': |
|
| 2138 | if ( ! function_exists( 'AtD_get_options' ) ) { |
|
| @@ 612-621 (lines=10) @@ | ||
| 609 | $updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
|
| 610 | break; |
|
| 611 | ||
| 612 | case 'sharing_services': |
|
| 613 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 614 | break; |
|
| 615 | } |
|
| 616 | ||
| 617 | $sharer = new Sharing_Service(); |
|
| 618 | ||
| 619 | // If option value was the same, consider it done. |
|
| 620 | $updated = $value != $sharer->get_blog_services() ? $sharer->set_blog_services( $value['visible'], $value['hidden'] ) : true; |
|
| 621 | break; |
|
| 622 | ||
| 623 | case 'button_style': |
|
| 624 | case 'sharing_label': |
|