[wp-trac] [WordPress Trac] #34945: HTTPS website with HTTP images

WordPress Trac noreply at wordpress.org
Wed Mar 16 22:48:15 UTC 2016


#34945: HTTPS website with HTTP images
-------------------------------------------------+-------------------------
 Reporter:  Angristan                            |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  normal                               |      Status:  reopened
Component:  Media                                |   Milestone:  4.5
 Severity:  normal                               |     Version:  4.4
 Keywords:  https has-patch has-unit-tests       |  Resolution:
  needs-testing                                  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 In [changeset:"37022"]:
 {{{
 #!CommitTicketReference repository="" revision="37022"
 Media: When generating the base URL to be used in the `srcset` attribute,
 use an `https` scheme when the image base URL's host matches that of the
 current host, and the request is being served over HTTPS. This prevents
 mixed content warnings caused by `http` embedded media.

 See #34945
 Props joemcgill
 }}}

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


More information about the wp-trac mailing list