[wp-trac] [WordPress Trac] #34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'

WordPress Trac noreply at wordpress.org
Tue Jul 30 13:37:19 UTC 2019


#34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'
------------------------------------------+-----------------------------
 Reporter:  theamila                      |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  Future Release
Component:  Canonical                     |     Version:  4.3.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by JochenT):

 The reason for these notices are probably the same as I've found for
 multisites. See #47733 (Undefined index HTTP_HOST in wp-includes/ms-
 settings.php)

 If this is true a more general handling of the HTTP server variables may
 be needed during the bootstrap/load process.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/34353#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list