[wp-trac] [WordPress Trac] #64599: Harden handling of PHP superglobals to prevent notices and potential data integrity issues
WordPress Trac
noreply at wordpress.org
Wed Feb 11 07:10:50 UTC 2026
#64599: Harden handling of PHP superglobals to prevent notices and potential data
integrity issues
-----------------------------------------+--------------------------
Reporter: vishalkakadiya | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch changes-requested | Focuses:
-----------------------------------------+--------------------------
Comment (by vishalkakadiya):
@westonruter I haven't encountered a specific PHP configuration where
`REQUEST_TIME` is missing.
This change is primarily part of a defensive coding approach — adding an
existence check to guard against potential notices.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64599#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list