@@ -50,6 +50,9 @@ |
||
50 | 50 | return sprintf( '%s-%d', self::FILTER_WIDGET_BASE, $number ); |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $widget_id |
|
55 | + */ |
|
53 | 56 | static function is_active_widget( $widget_id ) { |
54 | 57 | return (bool) is_active_widget( false, $widget_id, self::FILTER_WIDGET_BASE ); |
55 | 58 | } |
@@ -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 ); |