[wp-trac] [WordPress Trac] #54162: Update GetID3 to version 1.9.21

WordPress Trac noreply at wordpress.org
Fri Nov 26 02:53:46 UTC 2021


#54162: Update GetID3 to version 1.9.21
--------------------------------+-----------------------------
 Reporter:  jrf                 |       Owner:  SergeyBiryukov
     Type:  task (blessed)      |      Status:  reopened
 Priority:  normal              |   Milestone:  5.9
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch php81   |     Focuses:
--------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Tracked the [comment:3 test failures] to
 [https://github.com/JamesHeinrich/getID3/commit/4788e3ed248b0643da73f1b4b2a94e2f52f71e48
 this commit] setting the `$options_audiovideo_quicktime_ReturnAtomData`
 property to `false` instead of `true` by default.

 For WordPress, this leads to the data returned by `$id3::analyze()` no
 longer containing the `moov` element, which, among other things, includes
 the `creation_time_unix` field that `wp_get_media_creation_timestamp()`
 uses to retrieve the creation time.

 Simply setting the property to `true` makes the tests pass again, see
 [attachment:54162.diff].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54162#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list