wordpress-develop
wordpress-develop copied to clipboard
Notices fix for http1.0
In the absence of $_SERVER['HTTP_HOST']
while http1.0 protocol is used, the only available way to go through all other checks is to assume that the host and port are already correct and take them from the site settings.
Trac ticket: #34353
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.