@@ -98,6 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * Remove a Publicize connection |
| 101 | + * @param boolean $service_name |
|
| 101 | 102 | */ |
| 102 | 103 | function disconnect( $service_name, $connection_id, $_blog_id = false, $_user_id = false, $force_delete = false ) { |
| 103 | 104 | Jetpack::load_xml_rpc_client(); |
@@ -616,6 +617,9 @@ discard block |
||
| 616 | 617 | $this->options_save_other( 'google_plus' ); |
| 617 | 618 | } |
| 618 | 619 | |
| 620 | + /** |
|
| 621 | + * @param string $service_name |
|
| 622 | + */ |
|
| 619 | 623 | function options_save_other( $service_name ) { |
| 620 | 624 | // Nonce check |
| 621 | 625 | check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |