[wp-trac] [WordPress Trac] #15928: wp_get_attachment_url does not check for HTTPS

WordPress Trac noreply at wordpress.org
Thu Mar 5 02:01:05 UTC 2015


#15928: wp_get_attachment_url does not check for HTTPS
--------------------------+---------------------------
 Reporter:  atetlaw       |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.2
Component:  Permalinks    |     Version:  3.0.3
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * milestone:  Future Release => 4.2


Comment:

 Thanks, joemcgill. If we want to demonstrate that the URL matches
 `wp_upload_dir()` both in cases where siteurl is HTTPS and where siteurl
 is non-HTTPS, then I think we should probably have separate tests for
 each. I'll see what I can do. Other than that, I think we're looking good
 here.

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


More information about the wp-trac mailing list