Completed
Push — fix/translate-string-in-search... ( 1c662f...16b111 )
by
unknown
209:13 queued 200:43
created
modules/search/class.jetpack-search-helpers.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
 		return sprintf( '%s-%d', self::FILTER_WIDGET_BASE, $number );
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param string $widget_id
57
+	 */
55 58
 	static function is_active_widget( $widget_id ) {
56 59
 		return (bool) is_active_widget( false, $widget_id, self::FILTER_WIDGET_BASE );
57 60
 	}
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
 		return $filters;
86 89
 	}
87 90
 
91
+	/**
92
+	 * @param string $type
93
+	 */
88 94
 	static function get_date_filter_type_name( $type, $is_updated = false ) {
89 95
 		$string = '';
90 96
 		switch ( $type ) {
@@ -198,7 +204,6 @@  discard block
 block discarded – undo
198 204
 	 *
199 205
 	 * @since 5.8.0
200 206
 	 *
201
-	 * @param array $instance
202 207
 	 * @return bool
203 208
 	 */
204 209
 	static function post_types_differ_searchable( $post_types ) {
@@ -217,7 +222,6 @@  discard block
 block discarded – undo
217 222
 	 *
218 223
 	 * @since 5.8.0
219 224
 	 *
220
-	 * @param array $instance
221 225
 	 * @return bool
222 226
 	 */
223 227
 	static function post_types_differ_query( $post_types ) {
Please login to merge, or discard this patch.