]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/widgets/class-wp-widget-archives.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-archives.php
index 30e4ee0db23239a33a584982f173c462677d6194..ba12572bcbee35e228fe531b279c9164c68eb432 100644 (file)
@@ -23,7 +23,11 @@ class WP_Widget_Archives extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site’s Posts.') );
+               $widget_ops = array(
+                       'classname' => 'widget_archive',
+                       'description' => __( 'A monthly archive of your site’s Posts.' ),
+                       'customize_selective_refresh' => true,
+               );
                parent::__construct('archives', __('Archives'), $widget_ops);
        }