wp_upload_dir() doesn't support https
|Reported by:||ryanhellyer||Owned by:|
|Component:||Upload||Keywords:||has-patch needs-testing https|
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.
Change History (31)
2 months ago
- Severity changed from normal to major
8 weeks ago
- Keywords changed from has-patch, needs-testing, https to has-patch needs-testing https