[wp-trac] [WordPress Trac] #45929: Potential assignment to empty string
WordPress Trac
noreply at wordpress.org
Sat Oct 7 17:14:40 UTC 2023
#45929: Potential assignment to empty string
-------------------------------------------------+-------------------------
Reporter: jugglinmike | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.4
Component: Shortcodes | Version: 5.0.2
Severity: normal | Resolution:
Keywords: has-patch changes-requested good- | Focuses:
first-bug has-unit-tests close |
-------------------------------------------------+-------------------------
Comment (by brianhenryie):
#59206 is definitely a fix for this same issue.
The patch here is more robust and has a unit test, so it's worth
considering still.
I.e. 59206 handles only falsy values, this patch handles any non-array
values passed to the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45929#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list