Ticket #37454: 37454.diff
File 37454.diff, 627 bytes (added by , 8 years ago) |
---|
-
link-template.php
3992 3992 'r' => $args['rating'], 3993 3993 ); 3994 3994 3995 if ( is_ssl() ) {3995 if ( is_ssl() || $args['scheme'] === 'https' ) { 3996 3996 $url = 'https://secure.gravatar.com/avatar/' . $email_hash; 3997 3997 } else { 3998 3998 $url = sprintf( 'http://%d.gravatar.com/avatar/%s', $gravatar_server, $email_hash ); … … 4000 4000 4001 4001 $url = add_query_arg( 4002 4002 rawurlencode_deep( array_filter( $url_args ) ), 4003 set_url_scheme( $url, $args['scheme'] )4003 $url 4004 4004 ); 4005 4005 4006 4006 /**