[wp-trac] [WordPress Trac] #64487: Audio player in classic editor not loading assets
WordPress Trac
noreply at wordpress.org
Fri Jan 9 10:29:15 UTC 2026
#64487: Audio player in classic editor not loading assets
---------------------------+-----------------------------
Reporter: wigglypoppins | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.9
Severity: normal | Keywords:
Focuses: ui |
---------------------------+-----------------------------
Hello,
A client of ours spotted an issue where the media element for playing
audio used in the classic editor wasn't displaying properly on the front
end. We'd not made any changes apart from routine plugin/core updates and
after some investigation I noticed that the CSS and JS weren't being
enqueued, I've tested this on a previous version on WordPress (6.8.2) and
it worked and displayed perfectly fine so I can only assume this issue has
been introduced in the latest version of WordPress (6.9)
To resolve this until a proper fix is pushed, I've manually enqueued these
assets using:
{{{
function enqueue_media() {
wp_enqueue_script( 'wp-mediaelement' );
wp_enqueue_style( 'wp-mediaelement' );
}
add_action( 'wp_enqueue_scripts', 'enqueue_media' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64487>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list