We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a5dc11 + 34eb26a commit 57c75acCopy full SHA for 57c75ac
php/sync/class-storage.php
@@ -189,7 +189,9 @@ public function sync( $attachment_id ) {
189
switch ( $this->settings['offload'] ) {
190
case 'cld':
191
$this->remove_local_assets( $attachment_id );
192
- update_post_meta( $attachment_id, '_wp_attached_file', $this->media->cloudinary_url( $attachment_id ) );
+ $url = $this->media->cloudinary_url( $attachment_id, false );
193
+ $url = remove_query_arg( '_i', $url );
194
+ update_post_meta( $attachment_id, '_wp_attached_file', $url );
195
break;
196
case 'dual_low':
197
$transformations = $this->media->get_transformation_from_meta( $attachment_id );
0 commit comments