Changeset 48206
- Timestamp:
- 06/28/2020 09:07:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r48188 r48206 1009 1009 $_SERVER = add_magic_quotes( $_SERVER ); 1010 1010 1011 /*1012 * Revert the type change to string for two indexes which should retain their proper type.1013 * Among other things, this preserves compatibility of WP with PHPUnit Code Coverage generation.1014 */1015 if ( isset( $_SERVER['REQUEST_TIME'] ) ) {1016 $_SERVER['REQUEST_TIME'] = (int) $_SERVER['REQUEST_TIME'];1017 }1018 1019 if ( isset( $_SERVER['REQUEST_TIME_FLOAT'] ) ) {1020 $_SERVER['REQUEST_TIME_FLOAT'] = (float) $_SERVER['REQUEST_TIME_FLOAT'];1021 }1022 1023 1011 // Force REQUEST to be GET + POST. 1024 1012 $_REQUEST = array_merge( $_GET, $_POST );
Note: See TracChangeset
for help on using the changeset viewer.