WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-calendar.php
index 2a8911ad2b781f062485a30c71ff7028500bd0c4..99696780f180668b18c106c35238eb749f4315d1 100644 (file)
@@ -33,8 +33,12 @@ class WP_Widget_Calendar extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site’s Posts.') );
-               parent::__construct('calendar', __('Calendar'), $widget_ops);
+               $widget_ops = array(
+                       'classname' => 'widget_calendar',
+                       'description' => __( 'A calendar of your site’s Posts.' ),
+                       'customize_selective_refresh' => true,
+               );
+               parent::__construct( 'calendar', __( 'Calendar' ), $widget_ops );
        }
 
        /**