[wp-trac] [WordPress Trac] #42017: Parse the creation date out of uploaded audio files

WordPress Trac noreply at wordpress.org
Fri Oct 6 20:24:35 UTC 2017


#42017: Parse the creation date out of uploaded audio files
--------------------------------------+------------------------------
 Reporter:  desrosj                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by desrosj):

 * keywords:  needs-patch => has-patch has-unit-tests


Comment:

 In [attachment:42017.patch] I added the same approach used in
 `wp_read_video_metadata()` to `wp_read_audio_metadata()` (see r41746).
 Also attached is a test file that should go in the
 `tests/phpunit/data/uploads/` directory.

 I talked this over with @blobfolio. The only other file type that may be
 worth checking is an AAC (Apple audio). I will run some tests on that
 format when I get a chance.

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


More information about the wp-trac mailing list