[wp-trac] [WordPress Trac] #63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
WordPress Trac
noreply at wordpress.org
Fri Jun 6 01:16:28 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 rollybueno):
Thanks! I think this should be the accepted patch version. I'll confirm it
first on my dev, then updating the PR.
Replying to [comment:18 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:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list