[wp-trac] [WordPress Trac] #63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line 717

WordPress Trac noreply at wordpress.org
Thu Jul 24 16:34:31 UTC 2025


#63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line
717
-------------------------------------------------+-------------------------
 Reporter:  ArtZ91                               |       Owner:
                                                 |  johnjamesjacoby
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  Canonical                            |     Version:  2.3
 Severity:  minor                                |  Resolution:
 Keywords:  has-test-info has-patch dev-         |     Focuses:
  feedback has-unit-tests                        |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-test-info has-patch dev-feedback needs-unit-tests => has-
     test-info has-patch dev-feedback has-unit-tests


Comment:

 Found the workaround for unit testing these properties.
 Kind of weird overall this behaviour, but this is what it takes.

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


More information about the wp-trac mailing list