Skip to content

Commit

Permalink
Fixed JetPack Photon conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThierryA committed Jan 1, 2016
1 parent 9286baa commit e07122c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/image/class-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function init() {
private function setup() {

$upload_dir = beans_get_images_dir();
$info = pathinfo( $this->src );
$info = pathinfo( preg_replace( '#\?.*#', '', $this->src ) );
$query = substr( md5( @serialize( $this->args ) ), 0, 7 );
$extension = $info['extension'];
$filename = str_replace( '.' . $extension, '', $info['basename'] );
Expand Down

0 comments on commit e07122c

Please sign in to comment.