#28648 closed defect (bug) (fixed)
$homeURL['host'] missing null check on site install: Notice: Undefined index: host in /wp-includes/class-http.php on line 186
| Reported by: | meekyhwang | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | HTTP API | Version: | 4.0 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Notice: Undefined index: host in /wp-includes/class-http.php on line 186
It is an warning which does not break the site, only shows up with debugger on.
Attachments (1)
Change History (9)
#3
@
12 years ago
- Component General → HTTP API
- Keywords reporter-feedback added
Could you provide the steps to reproduce the issue? Why would get_bloginfo( 'url' ) return a URL without a host name?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
empty check to fix the issue.