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

WordPress Trac noreply at wordpress.org
Mon Sep 30 13:48:40 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:1 kasparsd]:
 > We should probably do the if_ssl() check for both $baseurl '''and
 $url''' here.

 Oops, I didn't think of doing that. The new patch uses `$baseurl = $url =
 set_url_scheme( $url );` so that it does them both at the same time.

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

More information about the wp-trac mailing list