wp/wp-includes/widgets/class-wp-widget-calendar.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    31 	public function __construct() {
    31 	public function __construct() {
    32 		$widget_ops = array(
    32 		$widget_ops = array(
    33 			'classname'                   => 'widget_calendar',
    33 			'classname'                   => 'widget_calendar',
    34 			'description'                 => __( 'A calendar of your site’s posts.' ),
    34 			'description'                 => __( 'A calendar of your site’s posts.' ),
    35 			'customize_selective_refresh' => true,
    35 			'customize_selective_refresh' => true,
       
    36 			'show_instance_in_rest'       => true,
    36 		);
    37 		);
    37 		parent::__construct( 'calendar', __( 'Calendar' ), $widget_ops );
    38 		parent::__construct( 'calendar', __( 'Calendar' ), $widget_ops );
    38 	}
    39 	}
    39 
    40 
    40 	/**
    41 	/**