[wp-trac] [WordPress Trac] #63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
WordPress Trac
noreply at wordpress.org
Wed Jun 4 15:40:20 UTC 2025
#63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
--------------------------+-----------------------------
Reporter: sllimrovert | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When uploading an MP3 file that contains meta data for "Involved People" (
which is a list, not a simple string ), if the server is running PHP 8.2,
a fatal error happens when the '''wp_add_id3_tag_data''' function calls
'''wp_kses_post'''. The fatal error happens on vanilla WordPress when
uploading the file to the Media Library ( verified in latest WP 6.8.1 ).
In general, '''wp_kses''' causes a fatal error if an array is passed into
it as ''$content''.
I'll attach the file to this ticket that has caused the error for me. I
do not own the copyright on the file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63529>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list