@@ -239,6 +239,9 @@ discard block |
||
| 239 | 239 | echo $args['after_widget']; |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | + /** |
|
| 243 | + * @param string $order |
|
| 244 | + */ |
|
| 242 | 245 | private function maybe_render_javascript( $instance, $order, $orderby ) { |
| 243 | 246 | if ( ! empty( $instance['user_sort_enabled'] ) ): ?> |
| 244 | 247 | <!-- |
@@ -594,6 +597,7 @@ discard block |
||
| 594 | 597 | * Responsible for rendering the search box within our widget on the frontend. |
| 595 | 598 | * |
| 596 | 599 | * @param array $instance |
| 600 | + * @param string $order |
|
| 597 | 601 | */ |
| 598 | 602 | function render_widget_search_form( $instance, $orderby, $order ) { |
| 599 | 603 | $form = get_search_form( false ); |