[wp-trac] [WordPress Trac] #61398: Missing src attribute on <audio> tag prevents m4a audio files playing in safari.

WordPress Trac noreply at wordpress.org
Wed Mar 5 15:44:33 UTC 2025


#61398: Missing src attribute on <audio> tag prevents m4a audio files playing in
safari.
-------------------------------------+------------------------
 Reporter:  ericmulder               |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.8
Component:  Media                    |     Version:  6.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------

Comment (by imranhasanraaz):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-
 develop/pull/6755.diff

 === Environment
 - WordPress: 6.8-beta1-59933-src
 - PHP: 7.4.33
 - Server: nginx/1.27.2
 - Database: mysqli (Server: 8.0.40 / Client: mysqlnd 7.4.33)
 - Browser: Chrome 133.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.1
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.1.0

 === Actual Results
 ✅ Issue resolved with patch.
 1. Before patch [[Image(https://prnt.sc/gul2HaTVoNhC)]]
 2. After applying patch [[Image(https://prnt.sc/tQM5UNe1wn4z)]]

 === Additional Notes
 - Apply the below code to theme functions.php file before testing in
 safari

 {{{#!php
 <?php
 function disable_mediaelement() {
     wp_deregister_script('wp-mediaelement');
 }
 add_action('wp_enqueue_scripts', 'disable_mediaelement', 11);
 }}}

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


More information about the wp-trac mailing list