diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/class-pop3.php --- a/wp/wp-includes/class-pop3.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/class-pop3.php Fri Sep 05 18:40:08 2025 +0200 @@ -11,7 +11,7 @@ * POP3 class * * @copyright 1999-2011 The SquirrelMail Project Team - * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @license https://opensource.org/licenses/gpl-license.php GNU Public License * @package plugins * @subpackage mail_fetch */ @@ -59,7 +59,9 @@ if(!empty($timeout)) { settype($timeout,"integer"); $this->TIMEOUT = $timeout; - set_time_limit($timeout); + if(function_exists("set_time_limit")){ + set_time_limit($timeout); + } } return true; } @@ -72,7 +74,9 @@ } function update_timer () { - set_time_limit($this->TIMEOUT); + if(function_exists("set_time_limit")){ + set_time_limit($this->TIMEOUT); + } return true; } @@ -443,7 +447,7 @@ // Sends a user defined command string to the // POP server and returns the results. Useful for // non-compliant or custom POP servers. - // Do NOT includ the \r\n as part of your command + // Do NOT include the \r\n as part of your command // string - it will be appended automatically. // The return value is a standard fgets() call, which