[wp-trac] [WordPress Trac] #34353: redirect_canonical() – Undefined indexes 'host' and 'scheme' (was: Notifications on top of the page for canonical.php and nav-menu-template.php)

WordPress Trac noreply at wordpress.org
Mon Oct 19 12:04:39 UTC 2015


#34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'
--------------------------+------------------------------
 Reporter:  theamila      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch
 * milestone:   => Awaiting Review


Comment:

 Looks like `$redirect['scheme']` and `$original['host']` are not correctly
 set. Those two arrays are returned by `parse_url`, so it's certainly
 possible that those keys aren't set.

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


More information about the wp-trac mailing list