mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Media: Add flac to the list of allowed file types.
Props blobfolio. Fixes #42225. git-svn-id: https://develop.svn.wordpress.org/trunk@42451 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1291,6 +1291,16 @@ class Tests_Functions extends WP_UnitTestCase {
|
||||
'proper_filename' => false,
|
||||
),
|
||||
),
|
||||
// FLAC file.
|
||||
array(
|
||||
DIR_TESTDATA . '/uploads/small-audio.flac',
|
||||
'small-audio.flac',
|
||||
array(
|
||||
'ext' => 'flac',
|
||||
'type' => 'audio/flac',
|
||||
'proper_filename' => false,
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user