[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:30:00 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 zabatonni):
Replying to [comment:2 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)?
Yes, its in Add media so it influences all wysiwyg and meta boxes. Before
it worked depending that WP_CONTENT_URL constant.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32112#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list