[wp-trac] [WordPress Trac] #15928: wp_get_attachment_url does not check for HTTPS
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 6 21:51:56 UTC 2012
#15928: wp_get_attachment_url does not check for HTTPS
-------------------------------------+-----------------------------
Reporter: atetlaw | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Permalinks | Version: 3.0.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------------
Comment (by cliffpaulick):
Shouldn't all images be sourced as "//site.com/wp-
content/uploads/image.png" instead of "HTTP://..." or "HTTPS://..." ?
That way all images will be "//image.php" and will load properly for each
individual page's HTTP or HTTPS protocol. Or if blogurl is HTTP today and
HTTPS next week, it'd still work. There's no reason not to src each
image/upload/file as "//image.php", right?
Thanks.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15928#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list