Changeset 47550 for trunk/src/wp-admin/load-styles.php
- Timestamp:
- 04/05/2020 03:00:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/load-styles.php
r47198 r47550 20 20 21 21 $protocol = $_SERVER['SERVER_PROTOCOL']; 22 if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) {22 if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ), true ) ) { 23 23 $protocol = 'HTTP/1.0'; 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.