[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 11 10:10:51 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 |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch has-test-info dev-feedback has-unit-tests => has-
patch has-test-info needs-unit-tests
Comment:
@ankitkumarshah it's OK to run Unit Tests for a quick check that
everything is in order, but running Unit Tests is only useful, when you
are actually checking a Testing patch
For this case, manual code review is needed.
In this case, Unit Tests look very redundant, lacking of data providers
(that could largely benefit in these tests) and the most important thing:
they are not covering the main concern of this topic.
PS: My advice here, if anyone plans to use an LLM for unit tests, better
leave these tests undone. You can benefit from an LLM for some
inspiration, but not for building the whole testing suite. I've been
benchmarking all LLM providers from unit testing for the last 18 months,
and they are painfully bad. Even in benchmarks when explaining the test
case in detail, they fail miserably. Probably the sole thing that they
have not been able to achieve yet with any degree of quality. I will
report back when I finally see a grasp of light on quality LLM Unit
testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63529#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list