|
@@ -95,6 +95,7 @@ discard block |
|
|
block discarded – undo |
|
95
|
95
|
|
|
96
|
96
|
/** |
|
97
|
97
|
* Remove a Publicize connection |
|
|
98
|
+ * @param boolean $service_name |
|
98
|
99
|
*/ |
|
99
|
100
|
function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) { |
|
100
|
101
|
return Jetpack_Service_Helper::disconnect( $serivce_name, $connection_id, $_blog_id, $_user_id, $force_delete ); |
|
@@ -590,6 +591,9 @@ discard block |
|
|
block discarded – undo |
|
590
|
591
|
$this->options_save_other( 'google_plus' ); |
|
591
|
592
|
} |
|
592
|
593
|
|
|
|
594
|
+ /** |
|
|
595
|
+ * @param string $service_name |
|
|
596
|
+ */ |
|
593
|
597
|
function options_save_other( $service_name ) { |
|
594
|
598
|
// Nonce check |
|
595
|
599
|
check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |
Please login to merge, or discard this patch.