[wp-trac] [WordPress Trac] #32229: redirect_canonical - Undefined Index HTTP_HOST

WordPress Trac noreply at wordpress.org
Fri Aug 28 03:30:57 UTC 2015


#32229: redirect_canonical - Undefined Index HTTP_HOST
------------------------------+-----------------------------
 Reporter:  Howdy_McGee       |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Canonical         |     Version:  4.2.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33775"]:
 {{{
 #!CommitTicketReference repository="" revision="33775"
 Avoid PHP notices in `redirect_canonical()` and
 `_wp_menu_item_classes_by_context()` if `$_SERVER['HTTP_HOST']` is not
 set.

 fixes #32229.
 }}}

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


More information about the wp-trac mailing list