[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 06:52:06 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 westonruter):

 @vishalkakadiya it seems to be available in the CLI context actually:


 {{{
 $ php -r 'var_dump($_SERVER["REQUEST_TIME"]);'
 int(1770792603)
 }}}

 Have you found a specific PHP configuration where it is not available?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64599#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list