]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/widgets/class-wp-widget-rss.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-rss.php
index b477a6e42edd19c81ed8b9ec426077474d5185be..a2548c4e1a17f6127f8bf5a208880af1caa5c6e6 100644 (file)
@@ -23,9 +23,12 @@ class WP_Widget_RSS extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array( 'description' => __('Entries from any RSS or Atom feed.') );
+               $widget_ops = array(
+                       'description' => __( 'Entries from any RSS or Atom feed.' ),
+                       'customize_selective_refresh' => true,
+               );
                $control_ops = array( 'width' => 400, 'height' => 200 );
-               parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops );
+               parent::__construct( 'rss', __( 'RSS' ), $widget_ops, $control_ops );
        }
 
        /**