[wp-trac] [WordPress Trac] #32112: wp_get_attachment_url returns https when it should not

WordPress Trac noreply at wordpress.org
Fri Apr 24 14:28:15 UTC 2015


#32112: wp_get_attachment_url returns https when it should not
--------------------------+------------------------------
 Reporter:  zabatonni     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by boonebgorges):

 See #15928 [31614]. This is, at least in part, by design.

 Can you give more details about the context in which
 `wp_get_attachment_url()` is returning HTTPS links? Are these attachment
 links that are coded into your theme? Or were the URLs generated when
 writing a post (through Add Media)?

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


More information about the wp-trac mailing list