| @@ 2097-2105 (lines=9) @@ | ||
| 2094 | $options = self::split_options( $options, get_option( 'verification_services_codes' ) ); |
|
| 2095 | break; |
|
| 2096 | ||
| 2097 | case 'sharedaddy': |
|
| 2098 | // It's local, but it must be broken apart since it's saved as an array. |
|
| 2099 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 2100 | break; |
|
| 2101 | } |
|
| 2102 | $sharer = new Sharing_Service(); |
|
| 2103 | $options = self::split_options( $options, $sharer->get_global_options() ); |
|
| 2104 | $options['sharing_services']['current_value'] = $sharer->get_blog_services(); |
|
| 2105 | break; |
|
| 2106 | ||
| 2107 | case 'after-the-deadline': |
|
| 2108 | if ( ! function_exists( 'AtD_get_options' ) ) { |
|
| @@ 600-609 (lines=10) @@ | ||
| 597 | $updated = $grouped_options_current != $grouped_options ? update_option( 'verification_services_codes', $grouped_options ) : true; |
|
| 598 | break; |
|
| 599 | ||
| 600 | case 'sharing_services': |
|
| 601 | if ( ! class_exists( 'Sharing_Service' ) && ! @include( JETPACK__PLUGIN_DIR . 'modules/sharedaddy/sharing-service.php' ) ) { |
|
| 602 | break; |
|
| 603 | } |
|
| 604 | ||
| 605 | $sharer = new Sharing_Service(); |
|
| 606 | ||
| 607 | // If option value was the same, consider it done. |
|
| 608 | $updated = $value != $sharer->get_blog_services() ? $sharer->set_blog_services( $value['visible'], $value['hidden'] ) : true; |
|
| 609 | break; |
|
| 610 | ||
| 611 | case 'button_style': |
|
| 612 | case 'sharing_label': |
|