[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 21:02:46 UTC 2018
#44653: wp_upload_dir not obeying HTTPS and forces everything to HTTP
-------------------------------+------------------------------
Reporter: son9ne | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by son9ne):
* status: new => closed
* resolution: => invalid
Comment:
Ok, after looking more into this issue. It seems this is due to a special
setup I have. I am using a single install of WordPress to serve numerous
sites. Each site has it's own wp-content and this is defined in their
configs.
The issue here is that I needed a global config due to how WordPress steps
out a directory to locate the config file. This has a constant using
`http://` and not obeying the constant. I am then assigning that custom
constant to `WP_CONTENT_URL` and that seems to be the culprit.
I have not tested this theory but I feel pretty confident that is the
issue. I saw the issue on the docs so immediately assumed. I should have
spent more time looking into this. Sorry to waste your time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44653#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list