Make WordPress Core


Ignore:
Timestamp:
11/26/2021 03:04:10 AM (3 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Update getID3 to version 1.9.21.

The latest version includes preliminary PHP 8.1 support, as well as a variety of bug fixes.

Release notes: https://github.com/JamesHeinrich/getID3/releases/tag/v1.9.21

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

This commit also includes:

  • Setting the $options_audiovideo_quicktime_ReturnAtomData property (now false by default) to true in wp_read_video_metadata() and wp_read_audio_metadata() in order to get the created_timestamp value.
  • PHPCS adjustments previously made for a passing PHP Compatibility scan.

Follow-up to [47601], [47737], [47902], [48278], [49621], [50714].

Props jrf, SergeyBiryukov.
Fixes #54162.

File:
1 edited

Legend:

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

    r51901 r52254  
    361361
    362362        // shortcut
     363        $headerfooterinfo = array();
    363364        $headerfooterinfo['raw'] = array();
    364365        $headerfooterinfo_raw = &$headerfooterinfo['raw'];
     
    390391        // All are set to zero on creation and ignored on reading."
    391392        // http://wiki.hydrogenaud.io/index.php?title=Ape_Tags_Flags
     393        $flags                      = array();
    392394        $flags['header']            = (bool) ($rawflagint & 0x80000000);
    393395        $flags['footer']            = (bool) ($rawflagint & 0x40000000);
Note: See TracChangeset for help on using the changeset viewer.