[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 09:22:12 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 siliconforks):
Replying to [comment:12 johnbillion]:
> What server configuration do you have that leads to `REQUEST_TIME` being
missing from the `$_SERVER` superglobal please?
{{{#!php
<?php
/*
Plugin Name: Very Bad Plugin
*/
unset( $_SERVER['REQUEST_TIME'] );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64599#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list