diff --git a/includes/widgets/class-wc-widget-product-search.php b/includes/widgets/class-wc-widget-product-search.php index 6935cb5c32d..2df11926494 100644 --- a/includes/widgets/class-wc-widget-product-search.php +++ b/includes/widgets/class-wc-widget-product-search.php @@ -1,17 +1,15 @@ widget_id = 'woocommerce_product_search'; $this->widget_name = __( 'Product Search', 'woocommerce' ); $this->settings = array( - 'title' => array( + 'title' => array( 'type' => 'text', 'std' => '', 'label' => __( 'Title', 'woocommerce' ), @@ -39,8 +37,8 @@ class WC_Widget_Product_Search extends WC_Widget { * * @see WP_Widget * - * @param array $args - * @param array $instance + * @param array $args Arguments. + * @param array $instance Widget instance. */ public function widget( $args, $instance ) { $this->widget_start( $args, $instance );