wp/wp-includes/widgets/class-wp-widget-search.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    24 	public function __construct() {
    24 	public function __construct() {
    25 		$widget_ops = array(
    25 		$widget_ops = array(
    26 			'classname'                   => 'widget_search',
    26 			'classname'                   => 'widget_search',
    27 			'description'                 => __( 'A search form for your site.' ),
    27 			'description'                 => __( 'A search form for your site.' ),
    28 			'customize_selective_refresh' => true,
    28 			'customize_selective_refresh' => true,
       
    29 			'show_instance_in_rest'       => true,
    29 		);
    30 		);
    30 		parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
    31 		parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
    31 	}
    32 	}
    32 
    33 
    33 	/**
    34 	/**