[wp-trac] [WordPress Trac] #63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
WordPress Trac
noreply at wordpress.org
Thu Jun 5 20:07:39 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: 6.9
Component: Media | Version: 6.8
Severity: normal | Resolution:
Keywords: has-patch has-test-info needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by sllimrovert):
I've confirmed locally that swapping:
{{{
$metadata[ $key ] = wp_kses_post( reset( $list ) );
}}}
for:
{{{
$metadata[ $key ] = wp_kses_post_deep( reset( $list ) );
}}}
also solves the issue, but keeps the structure of the metadata intact.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63529#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list