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

WordPress Trac noreply at wordpress.org
Thu Mar 10 01:29:39 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:
  commit                                         |     Focuses:
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  https has-patch has-unit-tests => https has-patch has-unit-
     tests commit


Comment:

 34945.4.patch is pretty similar to 34945.3.patch. It adds another private
 helper function that caches the corrected `$baseurl` in a static. Ideally
 this will be part of `wp_get_upload_dir()` or even `wp_upload_dir()` when
 the rest of the ssl updates land in core.

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


More information about the wp-trac mailing list