[wp-trac] [WordPress Trac] #44653: wp_upload_dir not obeying HTTPS and forces everything to HTTP

WordPress Trac noreply at wordpress.org
Thu Jul 26 20:56:39 UTC 2018


#44653: wp_upload_dir not obeying HTTPS and forces everything to HTTP
-------------------------------+------------------------------
 Reporter:  son9ne             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by son9ne):

 Thank you!

 I am using the constants:

 {{{
 define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress');
 define('WP_HOME', 'https://' . $_SERVER['SERVER_NAME']);
 }}}

 Just to be safe, I also checked the options table to ensure it is using
 `https://` as well and it is.

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


More information about the wp-trac mailing list