Changes between Initial Version and Version 1 of Ticket #33691, comment 1
- Timestamp:
- 09/03/2015 10:58:59 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33691, comment 1
initial v1 1 1 I like the idea behind this patch, but I would approach this differently. 2 2 3 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.3 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. 4 4 5 5 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.