Skip to content

Commit fa58ae3

Browse files
author
Marco Pereirinha
committed
Remove analytics for the download
1 parent 9dbc20a commit fa58ae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php/sync/class-storage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ public function sync( $attachment_id ) {
222222
$this->remove_local_assets( $attachment_id );
223223
}
224224
$date = get_post_datetime( $attachment_id );
225+
$url = remove_query_arg( '_i', $url );
225226
$this->download->download_asset( $attachment_id, $url, $date->format( 'Y/m' ) );
226227
}
227228

0 commit comments

Comments
 (0)