- $url = esc_url_raw(strip_tags( $widget_rss['url'] ));
- $title = trim(strip_tags( $widget_rss['title'] ));
- $show_summary = isset($widget_rss['show_summary']) ? (int) $widget_rss['show_summary'] : 0;
- $show_author = isset($widget_rss['show_author']) ? (int) $widget_rss['show_author'] :0;
- $show_date = isset($widget_rss['show_date']) ? (int) $widget_rss['show_date'] : 0;
+ $url = esc_url_raw( strip_tags( $widget_rss['url'] ) );
+ $title = isset( $widget_rss['title'] ) ? trim( strip_tags( $widget_rss['title'] ) ) : '';
+ $show_summary = isset( $widget_rss['show_summary'] ) ? (int) $widget_rss['show_summary'] : 0;
+ $show_author = isset( $widget_rss['show_author'] ) ? (int) $widget_rss['show_author'] :0;
+ $show_date = isset( $widget_rss['show_date'] ) ? (int) $widget_rss['show_date'] : 0;