@@ -76,7 +76,6 @@ discard block |
||
| 76 | 76 | * @since 5.8.0 |
| 77 | 77 | * |
| 78 | 78 | * @param string|array $key Query key or keys to remove. |
| 79 | - * @param bool|string $query Optional. A URL to act upon. Defaults to the current search URL. |
|
| 80 | 79 | * |
| 81 | 80 | * @return string New URL query string (unescaped). |
| 82 | 81 | */ |
@@ -178,6 +177,9 @@ discard block |
||
| 178 | 177 | return $filters; |
| 179 | 178 | } |
| 180 | 179 | |
| 180 | + /** |
|
| 181 | + * @param string $type |
|
| 182 | + */ |
|
| 181 | 183 | static function get_date_filter_type_name( $type, $is_updated = false ) { |
| 182 | 184 | switch ( $type ) { |
| 183 | 185 | case 'year': |