Opened 9 years ago
Closed 9 years ago
#33691 closed defect (bug) (duplicate)
Mixed content being served over ssl
Reported by: | cleggmatt | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | General | Keywords: | |
Focuses: | Cc: |
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)
This ticket was mentioned in Slack in #core by johnbillion. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
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.