@@ -786,6 +786,9 @@ |
||
| 786 | 786 | $this->options_save_other( 'google_plus' ); |
| 787 | 787 | } |
| 788 | 788 | |
| 789 | + /** |
|
| 790 | + * @param string $service_name |
|
| 791 | + */ |
|
| 789 | 792 | function options_save_other( $service_name ) { |
| 790 | 793 | // Nonce check |
| 791 | 794 | check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |
@@ -234,7 +234,7 @@ |
||
| 234 | 234 | /** |
| 235 | 235 | * Get a single Connection of a Service |
| 236 | 236 | * |
| 237 | - * @param string $service_name 'facebook', 'twitter', etc. |
|
| 237 | + * @param string $service 'facebook', 'twitter', etc. |
|
| 238 | 238 | * @param string $connection_id Connection ID |
| 239 | 239 | * @param false|int $_blog_id The blog ID. Use false (default) for the current blog |
| 240 | 240 | * @param false|int $_user_id The user ID. Use false (default) for the current user |