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

WordPress Trac noreply at wordpress.org
Fri Dec 11 16:09:19 UTC 2015


#25449: wp_upload_dir() doesn't support https
--------------------------+------------------------------
 Reporter:  ryanhellyer   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.8
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by thomaswm):

 Replying to [comment:18 SeBsZ]:
 > Therefore, shouldn't wp_upload_dir() at least use is_ssl() to generate
 the urls, and not rely on get_option() ?

 That would cause problems on websites which use HTTPS in wp-admin, but
 HTTP on the front-end. See #32112.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25449#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list