Changeset 52087 for trunk/src/wp-includes/load.php
- Timestamp:
- 11/09/2021 11:04:59 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/load.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r51358 r52087 15 15 function wp_get_server_protocol() { 16 16 $protocol = isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : ''; 17 if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ), true ) ) {17 if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) { 18 18 $protocol = 'HTTP/1.0'; 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.