@@ -578,6 +578,7 @@ |
||
| 578 | 578 | * Responsible for rendering the search box within our widget on the frontend. |
| 579 | 579 | * |
| 580 | 580 | * @param array $instance |
| 581 | + * @param string $order |
|
| 581 | 582 | */ |
| 582 | 583 | function render_widget_search_form( $instance, $orderby, $order ) { |
| 583 | 584 | $form = get_search_form( false ); |
@@ -147,6 +147,10 @@ |
||
| 147 | 147 | * Take a list of field prefixes and expand them for multi-lingual |
| 148 | 148 | * with the provided boostings. |
| 149 | 149 | */ |
| 150 | + |
|
| 151 | + /** |
|
| 152 | + * @param string[] $additional_fields |
|
| 153 | + */ |
|
| 150 | 154 | public function merge_ml_fields( $fields2boosts, $additional_fields ) { |
| 151 | 155 | $flds = array(); |
| 152 | 156 | foreach( $fields2boosts as $f => $b ) { |