Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#42550 new enhancement

Make wp_upload_dir respect URL scheme

Reported by: Senning Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


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)

0001-make-wp_upload_dir-respect-SSL.patch (640 bytes) - added by Senning 2 years ago.
Run set_url_scheme on URLs in _wp_upload_dir

Download all attachments as: .zip

Change History (2)

2 years ago

Run set_url_scheme on URLs in _wp_upload_dir

#1 @pento
2 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.