[wp-trac] [WordPress Trac] #54404: Incorrect protocol with HTTP/3
WordPress Trac
noreply at wordpress.org
Tue Nov 9 15:56:30 UTC 2021
#54404: Incorrect protocol with HTTP/3
----------------------------+-----------------------------
Reporter: malthert | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
wp-includes/load.php
function wp_get_server_protocol:
{{{#!php
<?php
if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ),
true ) ) {
$protocol = 'HTTP/1.0';
}}}
Chrome Carnary already supports HTTP/3 (since a long time), so this should
be fixed as it returns the incorrect protocol.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54404>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list