[wp-trac] [WordPress Trac] #25449: wp_upload_dir() doesn't support https

WordPress Trac noreply at wordpress.org
Mon Sep 30 13:49:31 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        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by ryanhellyer):

 Replying to [comment:2 johnbillion]:
 > Simpler patch: Just wrap `$url` in `set_url_scheme()`.

 That worked perfectly! I wish I knew about that before as it makes for
 much cleaner code.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25449#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list