[wp-trac] [WordPress Trac] #25449: wp_upload_dir() doesn't support https
WordPress Trac
noreply at wordpress.org
Fri Dec 11 14:56:24 UTC 2015
#25449: wp_upload_dir() doesn't support https
--------------------------+------------------------------
Reporter: ryanhellyer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 3.8
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by SeBsZ):
@johnbillion I am the developer of @archon810 website. Thanks for your
comment. I checked out comment thread #34945 and we are in fact using the
defines as mentioned. However, both the defines and our wp_options table
have http:// urls. This is wanted behavior, because our website needs to
work for both protocols, we are not enforcing https. Therefore, shouldn't
wp_upload_dir() at least use is_ssl() to generate the urls, and not rely
on get_option() ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25449#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list