@@ -353,6 +353,9 @@ discard block |
||
353 | 353 | ), menu_page_url( 'sharing', false ) ); |
354 | 354 | } |
355 | 355 | |
356 | + /** |
|
357 | + * @param string $filter |
|
358 | + */ |
|
356 | 359 | function get_services( $filter ) { |
357 | 360 | if ( ! in_array( $filter, array( 'all', 'connected' ) ) ) { |
358 | 361 | $filter = 'all'; |
@@ -787,6 +790,9 @@ discard block |
||
787 | 790 | $this->options_save_other( 'google_plus' ); |
788 | 791 | } |
789 | 792 | |
793 | + /** |
|
794 | + * @param string $service_name |
|
795 | + */ |
|
790 | 796 | function options_save_other( $service_name ) { |
791 | 797 | // Nonce check |
792 | 798 | check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |