X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..784f914b1e4b1c62d6657e86397c2e83bcee4295:/wp-includes/widgets/class-wp-widget-rss.php
diff --git a/wp-includes/widgets/class-wp-widget-rss.php b/wp-includes/widgets/class-wp-widget-rss.php
index 169e129e..a2548c4e 100644
--- a/wp-includes/widgets/class-wp-widget-rss.php
+++ b/wp-includes/widgets/class-wp-widget-rss.php
@@ -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 );
}
/**
@@ -76,7 +79,7 @@ class WP_Widget_RSS extends WP_Widget {
$url = strip_tags( $url );
$icon = includes_url( 'images/rss.png' );
if ( $title )
- $title = ' ';
+ $title = ' ';
echo $args['before_widget'];
if ( $title ) {