diff --git a/Puc/v4p1/Vcs/PluginUpdateChecker.php b/Puc/v4p1/Vcs/PluginUpdateChecker.php index 25a496e..9068f82 100644 --- a/Puc/v4p1/Vcs/PluginUpdateChecker.php +++ b/Puc/v4p1/Vcs/PluginUpdateChecker.php @@ -32,7 +32,9 @@ if ( !class_exists('Puc_v4p1_Vcs_PluginUpdateChecker') ): public function requestInfo($unusedParameter = null) { //We have to make several remote API requests to gather all the necessary info //which can take a while on slow networks. - set_time_limit(60); + if ( function_exists('set_time_limit') ) { + @set_time_limit(60); + } $api = $this->api;