[wp-trac] [WordPress Trac] #43196: wp-admin/upload.php media thumbnails are loaded in http despite all site runs https

WordPress Trac noreply at wordpress.org
Mon Apr 15 15:37:51 UTC 2019


#43196: wp-admin/upload.php media thumbnails are loaded in http despite all site
runs https
--------------------------+----------------------
 Reporter:  synthview     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  4.9.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by joemcgill):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Image URLs are constructed using the value of the `siteurl` option unless
 the site is specifically configured to use a different  upload path using
 the `upload_url_path` option or by setting the `WP_CONTENT_URL` constant,
 so this may be a case where the site is configured improperly. Generally
 speaking, images should be HTTPS if the `siteurl` is set using HTTPS.

 There are legitimate cases where it's not desirable to set the `siteurl`
 to HTTPS (e.g., the site sits behind a revers proxy that resolves HTTPS).
 In those cases, you'll want to make sure to enforce HTTPS image URL paths
 through a different method.

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


More information about the wp-trac mailing list