[wp-trac] [WordPress Trac] #37454: get_avatar_data() delivers different url for scheme=https and is_ssl()

WordPress Trac noreply at wordpress.org
Mon Jul 25 08:09:47 UTC 2016


#37454: get_avatar_data() delivers different url for scheme=https and is_ssl()
--------------------------+-----------------------------
 Reporter:  neoxx         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 get_avatar_data() has an option to set the scheme. If https is used, an
 image URL is returned which is different to the one which is returned in
 case delivery is conducted via https without the scheme parameter. I think
 it would be better to serve the same gravatar url for https pages and
 explicit https-scheme requests.

 Regarding performance and depending on the infrastructure, it could also
 be benefical to drop https://%d.gravatar.com completely and serve all
 requests to gravatar independent of the page's protocol via
 https://secure.gravatar.com/ to benefit from HTTP/2 (http and
 https://%d.gravatar.com requests are served via HTTP/1.1 whereas
 https://secure.gravatar.com/ allows multiplexing via HTTP/2).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37454>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list