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

WordPress Trac noreply at wordpress.org
Fri Apr 24 16:11:04 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:  close         |     Focuses:
--------------------------+------------------------------

Comment (by Ipstenu):

 Replying to [comment:9 boonebgorges]:
 > ipstenu - Can you provide more details about the caching issue?

 For Photon: https://github.com/Automattic/jetpack/issues/2015 - I can
 logically see why they DON'T catch https there, and it's much the same
 reason as pagespeed. Caching and HTTPS are techy at best :)

 Pagespeed (by default) doesn't process https unless you set it up to do
 so. Since many sites (mine included) don't use https on the front end for
 the site, it sees https://path.to/image.jpg and doesn't render my
 'commands' to it (which are to make the image root-relative and to do some
 extra compression). If I change the image back to http, it works fine.

 I'm going to be filtering the content on sites that don't use https on the
 front end (one site in the network is full https which is my own drama, if
 annoying).

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


More information about the wp-trac mailing list