Opened 11 years ago
Closed 11 years ago
#33691 closed defect (bug) (duplicate)
Mixed content being served over ssl
| Reported by: | cleggmatt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Images are stored with the full path even though they are on the same domain. This causes mixed-content problems if you migrate to HTTPS from HTTP.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I like the idea behind this patch, but I would approach this differently.
If instead of storing the full site_domain for an image in a post, WP just stored protocol relative URLs (i.e. the image path but prefixed with
//and no http or https) then switching a site from http to https (or vice versa for some reason) would be simpler.Your patch would be a great migration helper so that people who upgraded to a newer version of WP could benefit from such a core change.