[wp-trac] [WordPress Trac] #59573: warning: trying to access array offset on value of type bool in wp-includes/media.php
WordPress Trac
noreply at wordpress.org
Wed Jul 17 15:51:33 UTC 2024
#59573: warning: trying to access array offset on value of type bool in wp-
includes/media.php
-------------------------------+-------------------------
Reporter: androidforlife | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 6.3.1
Severity: normal | Resolution: maybelater
Keywords: reporter-feedback | Focuses:
-------------------------------+-------------------------
Changes (by joedolson):
* status: reopened => closed
* resolution: => maybelater
* milestone: Awaiting Review =>
Comment:
The code may be a suggested revision, but it's not a good suggestion; the
current code handles a string value better than that does, which would
result in executing `count()` on a non-countable variable type.
Without any context on where this is coming from, I don't think there's
any action we can take on this ticket.
If @androidforlife is able to provide a stack trace that tells us what to
look at, we can re-open this, but I don't think it's productive to keep it
open for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59573#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list