diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 7a75983766..a36990515a 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -712,6 +712,10 @@ class WP_Widget_RSS extends WP_Widget { if ( empty($url) ) return; + // self-url destruction sequence + if ( $url == site_url() || $url == home_url() ) + return; + $rss = fetch_feed($url); $title = $instance['title']; $desc = '';