[wp-trac] [WordPress Trac] #41577: Fix Notice fixing

WordPress Trac noreply at wordpress.org
Mon Aug 7 00:09:15 UTC 2017


#41577: Fix Notice fixing
-------------------------+-----------------------------
 Reporter:  glehner      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Canonical    |    Version:  4.8.1
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The file wp-includes/canonical.php produces Notices for undefined indexes
 when a requested uri has no path or query.

 The attached patch sets the indexes to empty strings.

 #6977 (which was not used) had a different approach.  The currently used
 "Notice fixing" approach does not fix up $original which is used
 afterwards.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41577>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list