[wp-trac] [WordPress Trac] #33691: Mixed content being served over ssl

WordPress Trac noreply at wordpress.org
Thu Sep 3 10:15:32 UTC 2015


#33691: Mixed content being served over ssl
--------------------------+------------------------------
 Reporter:  cleggmatt     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by akumria):

 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33691#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list