Make WordPress Core


Ignore:
Timestamp:
05/01/2020 08:10:58 PM (5 years ago)
Author:
desrosj
Message:

General: More PHP compatibility adjustments.

In this round:

  • Removed references to safe_mode in class-php3.php. This was removed in PHP 5.4.
  • Add inline exclude comments for compatibility checks in getID3.

Follow up of [47735-47736].

See #49922.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-pop3.php

    r45730 r47737  
    6060            settype($timeout,"integer");
    6161            $this->TIMEOUT = $timeout;
    62             if (!ini_get('safe_mode'))
    63                 set_time_limit($timeout);
     62            set_time_limit($timeout);
    6463        }
    6564        return true;
     
    7473
    7574    function update_timer () {
    76         if (!ini_get('safe_mode'))
    77             set_time_limit($this->TIMEOUT);
     75        set_time_limit($this->TIMEOUT);
    7876        return true;
    7977    }
Note: See TracChangeset for help on using the changeset viewer.