[wp-trac] [WordPress Trac] #59712: `WP_Ugrader` doesn't check source and destination variable types, is missing a string.
WordPress Trac
noreply at wordpress.org
Thu Apr 11 23:13:44 UTC 2024
#59712: `WP_Ugrader` doesn't check source and destination variable types, is
missing a string.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner:
| peterwilsoncc
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.6
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
Good catch, Andy, I've used your suggestion and pushed it with some
additional test cases.
It's possibly a little overkill but if WordPress is going to test for
invalid strings, it should at least do it completely.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59712#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list