|
@@ -64,6 +64,7 @@ discard block |
|
|
block discarded – undo |
|
64
|
64
|
|
|
65
|
65
|
/** |
|
66
|
66
|
* Remove a Publicize connection |
|
|
67
|
+ * @param boolean $service_name |
|
67
|
68
|
*/ |
|
68
|
69
|
function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) { |
|
69
|
70
|
return Jetpack_Keyring_Service_Helper::disconnect( $service_name, $connection_id, $_blog_id, $_user_id, $force_delete ); |
|
@@ -559,6 +560,9 @@ discard block |
|
|
block discarded – undo |
|
559
|
560
|
$this->options_save_other( 'google_plus' ); |
|
560
|
561
|
} |
|
561
|
562
|
|
|
|
563
|
+ /** |
|
|
564
|
+ * @param string $service_name |
|
|
565
|
+ */ |
|
562
|
566
|
function options_save_other( $service_name ) { |
|
563
|
567
|
// Nonce check |
|
564
|
568
|
check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |
Please login to merge, or discard this patch.