Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #34353, comment 10


Ignore:
Timestamp:
03/01/2018 12:03:38 AM (7 years ago)
Author:
Andy Schmidt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34353, comment 10

    v1 v2  
    33In my case, problem is that several times daily, redirect_canonical() is called with $_SERVER[`HOST`] empty and $_SERVER [`URI`] = '/'.
    44
    5 As a result $original['host'] is never set and the code will eventually fail starting at lines 461 - 463:
     5As a result $original[`host`] is never set and the code will eventually fail starting at lines 461 - 463:
    66{{{#!php
    77<?php