[wp-trac] [WordPress Trac] #25449: wp_upload_dir() doesn't support https
WordPress Trac
noreply at wordpress.org
Mon Sep 30 13:11:15 UTC 2013
#25449: wp_upload_dir() doesn't support https
--------------------------+-----------------------------
Reporter: ryanhellyer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
The wp_upload_dir() function does not support https. I have added a simple
is_ssl() check and a string replacement to serve the correct URL type.
'''Background behind what prompted me to write the patch:'''
I read a blog post by Kaspars Dambis in which he discussed fixing this
problem via his own plugin, but it seems to me that since WordPress
outputting an incorrect URL, that it would make most sense to fix it
there.
http://kaspars.net/blog/wordpress/minit-plugin-ssl-https
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25449>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list