Make WordPress Core


Ignore:
Timestamp:
06/28/2015 12:16:17 AM (9 years ago)
Author:
wonderboymusic
Message:

Update getID3 to 1.9.9

Changelog:

Fixes #32806.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ID3/getid3.php

    r29734 r32979  
    2929    $temp_dir = '';
    3030}
    31 if (!$temp_dir) {
     31if (!$temp_dir && function_exists('sys_get_temp_dir')) { // sys_get_temp_dir added in PHP v5.2.1
    3232    // sys_get_temp_dir() may give inaccessible temp dir, e.g. with open_basedir on virtual hosts
    3333    $temp_dir = sys_get_temp_dir();
     
    110110    protected $startup_warning = '';
    111111
    112     const VERSION           = '1.9.8-20140511';
     112    const VERSION           = '1.9.9-20141121';
    113113    const FREAD_BUFFER_SIZE = 32768;
    114114
     
    250250            $this->info = array();
    251251            $this->info['GETID3_VERSION']   = $this->version();
    252             $this->info['php_memory_limit'] = $this->memory_limit;
     252            $this->info['php_memory_limit'] = (($this->memory_limit > 0) ? $this->memory_limit : false);
    253253
    254254            // remote files not supported
Note: See TracChangeset for help on using the changeset viewer.