Make WordPress Core


Ignore:
Timestamp:
07/02/2020 03:46:17 PM (6 years ago)
Author:
desrosj
Message:

External Libraries: Update getID3 to version 1.9.20.

A full list of changes in this update can be found on GitHub: https://github.com/JamesHeinrich/getID3/compare/v1.9.19...v1.9.20.

Props hareesh-pillai, desrosj.
Previously [47601-47604].
Fixes #49945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ID3/module.tag.lyrics3.php

    r47601 r48278  
    1515/////////////////////////////////////////////////////////////////
    1616
    17 
     17if (!defined('GETID3_INCLUDEPATH')) { // prevent path-exposing attacks that access modules directly on public webservers
     18    exit;
     19}
    1820class getid3_lyrics3 extends getid3_handler
    1921{
     
    108110                    getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.apetag.php', __FILE__, true);
    109111                    $getid3_temp = new getID3();
    110                     $getid3_temp->openfile($this->getid3->filename);
     112                    $getid3_temp->openfile($this->getid3->filename, $this->getid3->info['filesize'], $this->getid3->fp);
    111113                    $getid3_apetag = new getid3_apetag($getid3_temp);
    112114                    $getid3_apetag->overrideendoffset = $info['lyrics3']['tag_offset_start'];
Note: See TracChangeset for help on using the changeset viewer.