[wp-trac] [WordPress Trac] #33093: Upgrade from 4.2.2 produces a warning on upgrade
WordPress Trac
noreply at wordpress.org
Mon Jul 27 14:38:16 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 dmchale):
+1 for this patch. We do not have WP_DEBUG enabled anywhere, but noticed
some of our sites never automatically updated to 4.2.3 - upon
investigating, we found this PHP warning littering the error_log. Logging
into the admin area and clicking to upgrade successfully worked, however.
As kitchin said, the php docs definitely mention the possibility of this
issue on some systems, per the "Note" blockquote under Return Values. For
the most broad system compatability, you can't simply trust a glob()
inside a foreach() [http://php.net/manual/en/function.glob.php]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33093#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list