@@ -112,6 +112,9 @@ discard block |
||
112 | 112 | return $html; |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param string $regexp |
|
117 | + */ |
|
115 | 118 | public static function regexp_entities( $regexp ) { |
116 | 119 | return preg_replace( |
117 | 120 | '/\[\^&([^\]]+)\]\*\+/', |
@@ -150,6 +153,9 @@ discard block |
||
150 | 153 | return self::dispatch( $matches ); |
151 | 154 | } |
152 | 155 | |
156 | + /** |
|
157 | + * @param string[] $matches |
|
158 | + */ |
|
153 | 159 | static function dispatch( $matches ) { |
154 | 160 | $html = preg_replace( '%�*58;//%', '://', $matches[0] ); |
155 | 161 | $attrs = self::get_attrs( $html ); |
@@ -22,6 +22,9 @@ |
||
22 | 22 | add_action( 'infinite_scroll_render', array( $this, 'polldaddy_shortcode_infinite' ), 11 ); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $survey_link |
|
27 | + */ |
|
25 | 28 | private function get_async_code( array $settings, $survey_link ) { |
26 | 29 | $embed_src = 'http://i0.poll.fm/survey.js'; |
27 | 30 | $embed_src_ssl = 'https://polldaddy.com/survey.js'; |