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 6c97e8f commit a220462Copy full SHA for a220462
cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-upgrade.php
@@ -139,9 +139,10 @@ function ( $val ) use ( $media ) {
139
$path = pathinfo( $public_id );
140
$public_id = strstr( $public_id, '.' . $path['extension'], true );
141
$this->media->update_post_meta( $attachment_id, Sync::META_KEYS['public_id'], $public_id );
142
- if ( !defined( 'DOING_BULK_SYNC' ) ) {
+ if ( ! defined( 'DOING_BULK_SYNC' ) ) {
143
$this->sync->managers['upload']->add_to_sync( $attachment_id ); // Auto sync if upgrading outside of bulk sync.
144
}
145
+
146
return $public_id;
147
148
0 commit comments