#8787 closed defect (bug) (fixed)
Error in URL checking in http.php
| Reported by: | mercurix | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.1 |
| Component: | HTTP API | Version: | 2.7 |
| Severity: | critical | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
There is a bug in wp-includes/http.php in the 2.7 release.
In line 753 it reads:
if ( 'http' != $arrURLscheme 'https' != $arrURLscheme )
What should be there instead is:
Without this fix Wordpress will fail to call its wp-cron.php (and leading to a crash with seg fault for me) if the Wordpress installation is on an https server and cannot be reached with http.
Attachments (1)
Change History (10)
#5
@
18 years ago
This is in two locations. You fixed the first one, the second one needs to be corrected as well.
#7
@
18 years ago
- Keywords has-patch commit added
Patch fixes the other location as well as adds some inline documentation.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [10309]) And instead of or. Props mercurix. fixes #8787 for trunk