@@ -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'] ); |
@@ -25,6 +25,9 @@ |
||
25 | 25 | add_action( 'infinite_scroll_render', array( $this, 'crowdsignal_shortcode_infinite' ), 11 ); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $survey_link |
|
30 | + */ |
|
28 | 31 | private function get_async_code( array $settings, $survey_link ) { |
29 | 32 | $include = <<<CONTAINER |
30 | 33 | ( function( d, c, j ) { |