- $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'Your site’s most recent comments.' ) );
- parent::__construct('recent-comments', __('Recent Comments'), $widget_ops);
+ $widget_ops = array(
+ 'classname' => 'widget_recent_comments',
+ 'description' => __( 'Your site’s most recent comments.' ),
+ 'customize_selective_refresh' => true,
+ );
+ parent::__construct( 'recent-comments', __( 'Recent Comments' ), $widget_ops );