diff --git a/backport-changelog/6.8/7265.md b/backport-changelog/6.8/7265.md index d4c46d62fa333..44ba36053aa0d 100644 --- a/backport-changelog/6.8/7265.md +++ b/backport-changelog/6.8/7265.md @@ -1,3 +1,4 @@ https://github.com/WordPress/wordpress-develop/pull/7265 * https://github.com/WordPress/gutenberg/pull/66850 +* https://github.com/WordPress/gutenberg/pull/66947 diff --git a/lib/compat/wordpress-6.8/functions.php b/lib/compat/wordpress-6.8/functions.php index eb57b2bb9890e..a4658d1a182c7 100644 --- a/lib/compat/wordpress-6.8/functions.php +++ b/lib/compat/wordpress-6.8/functions.php @@ -18,7 +18,7 @@ function gutenberg_get_mime_types_6_8( $mime_types ) { * Only add support if there is existing support for 'wav'. * Some plugins may have deliberately disabled it. */ - if ( ! $mime_types['wav'] && ! isset( $mime_types['wav|x-wav'] ) ) { + if ( ! isset( $mime_types['wav'] ) && ! isset( $mime_types['wav|x-wav'] ) ) { return $mime_types; } /*