WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-search.php
index 29bbbf8a5dec96b270dca77983ac399da3bb5126..f7d67bb5b4793d38dd4e7bcdb9e7e7fe9139f428 100644 (file)
@@ -23,7 +23,11 @@ class WP_Widget_Search extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
+               $widget_ops = array(
+                       'classname' => 'widget_search',
+                       'description' => __( 'A search form for your site.' ),
+                       'customize_selective_refresh' => true,
+               );
                parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
        }