Opened 17 months ago
Closed 17 months ago
#58128 closed defect (bug) (invalid)
Deregistering wp-mediaelement also removes media uploader CSS when using ACF on front-end
Reported by: | openbayou | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
I'm making a WordPress site for clients to add items to a post on the front end. I'm using ACF and acf_form to display a custom field on the page that has the ability to upload a file. That file is an MP3 file and the field is wrapped in <audio>.
The bug I'm submitting is when you unregister mediaelements, it removes the CSS that the media uploader uses to upload a file. If you want to style the player differently than the default, you have to unregister mediaelements. When you unregister mediaelements, it removes the CSS file used to upload media files to WP.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi @openbayou ! I work on the ACF team and am going to raise this to see if we can provide a fix on the ACF side. I think since this is specific to ACF we can close this issue to focus on a support ticket. Can you by chance open one with us so we can have a thread started to update you when we have identified a fix?
Going to close this ticket so we can keep the Core backlog true. Thanks for the report!