diff --git a/functions.php b/functions.php index 5d086f9e9..bc26bf77a 100644 --- a/functions.php +++ b/functions.php @@ -443,6 +443,7 @@ } else { $rss = new SimplePie(); $rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT); + $rss->set_timeout(MAGPIE_FETCH_TIME_OUT); $rss->set_feed_url($fetch_url); $rss->set_output_encoding('UTF-8'); $rss->init();