wp_upload_dir() doesn't support https
|Reported by:||ryanhellyer||Owned by:|
|Component:||Upload||Keywords:||needs-testing https 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.
Change History (39)
8 months ago
- Severity changed from normal to major
7 months ago
- Keywords changed from has-patch, needs-testing, https to has-patch needs-testing https
5 months ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from 4.5 to Future Release