diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 8ca123354a..f03f8a4a0f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2743,6 +2743,7 @@ function url_is_accessable_via_ssl($url) curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_exec($ch); @@ -3145,4 +3146,4 @@ function wp_timezone_choice($selectedzone) { } -?> \ No newline at end of file +?>