[wp-trac] [WordPress Trac] #33093: Upgrade from 4.2.2 produces a warning on upgrade
WordPress Trac
noreply at wordpress.org
Fri Jul 24 19:24:23 UTC 2015
#33093: Upgrade from 4.2.2 produces a warning on upgrade
-----------------------------+-----------------------
Reporter: lordspace | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.3
Component: Upgrade/Install | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+-----------------------
Comment (by kitchin):
For the patch, I grepped all `glob(` and skipped `SimplePie/Misc.php`.
Maybe that is an upstream or we want a warning there, don't know. Note
(array)false = array(false). Also, as PHP says, "On some systems it is
impossible to distinguish between empty match and an error." The `glob()`
emulator in includes/class-ftp.php returns false or array, like PHP.
I don't see any unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33093#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list