Opened 7 years ago
Closed 4 years ago
#42550 closed enhancement (duplicate)
Make wp_upload_dir respect URL scheme
Reported by: | Senning | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upload | Keywords: | needs-testing needs-unit-tests has-patch |
Focuses: | Cc: |
Description
wp_upload_dir() should respect the request scheme, consistent with get_site_url(). This would be helpful for plugins which put their generated content in the uploads directory.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Run set_url_scheme on URLs in _wp_upload_dir