Skip to content

Commit 147f65f

Browse files
author
Marco Pereirinha
committed
Check instead if the asset has been synced before
1 parent 565c96c commit 147f65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/sync/class-upload-sync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function handle_bulk_actions( $location, $action, $post_ids ) {
163163

164164
// It's required to perform a new sync that Cloudinary and WordPress storage is set.
165165
if (
166-
$this->plugin->components['sync']->is_synced( $post_id ) &&
166+
$this->plugin->components['sync']->been_synced( $post_id ) &&
167167
'dual_full' !== $this->plugin->settings->find_setting( 'offload' )->get_value()
168168
) {
169169
continue;

0 commit comments

Comments
 (0)