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.
1 parent 218ce8d commit 9dbc20aCopy full SHA for 9dbc20a
php/sync/class-storage.php
@@ -189,9 +189,9 @@ public function sync( $attachment_id ) {
189
switch ( $this->settings['offload'] ) {
190
case 'cld':
191
$this->remove_local_assets( $attachment_id );
192
- $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 );
+ $cloudinary_url = $this->media->cloudinary_url( $attachment_id, false );
+ $cloudinary_url = remove_query_arg( '_i', $cloudinary_url );
+ update_post_meta( $attachment_id, '_wp_attached_file', $cloudinary_url );
195
break;
196
case 'dual_low':
197
$transformations = $this->media->get_transformation_from_meta( $attachment_id );
0 commit comments