Skip to content

Commit

Permalink
Bring back changes from a03632a
Browse files Browse the repository at this point in the history
  • Loading branch information
dereksmart committed Apr 26, 2018
1 parent c463638 commit 4a747f8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions functions.photon.php
Expand Up @@ -77,10 +77,6 @@ function jetpack_photon_url( $image_url, $args = array(), $scheme = null ) {
if ( ! is_array( $image_url_parts ) || empty( $image_url_parts['host'] ) || empty( $image_url_parts['path'] ) )
return $image_url;

if ( isset( $image_url_parts['scheme'] ) && 'https' == $image_url_parts['scheme'] ) {
$args['ssl'] = '1';
}

if ( is_array( $args ) ){
// Convert values that are arrays into strings
foreach ( $args as $arg => $value ) {
Expand Down

0 comments on commit 4a747f8

Please sign in to comment.