File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ protected function process_sync( $posts, $total ) {
199199 $ filename = self ::pad_name ( basename ( $ file ), 20 , ' ' , '* ' );
200200 $ bar ->tick ( 1 , 'Syncing ( ' . ( $ done ) . ' of ' . $ total . ') : ' . $ filename );
201201 if (
202- ! $ this ->plugin ->get_component ( 'sync ' )->is_synced ( $ asset )
202+ ! $ this ->plugin ->get_component ( 'sync ' )->is_synced ( $ asset, true )
203203 && $ this ->plugin ->get_component ( 'media ' )->is_local_media ( $ asset )
204204 && $ this ->plugin ->get_component ( 'sync ' )->is_syncable ( $ asset )
205205 ) {
@@ -248,7 +248,7 @@ protected function process_analyze( $posts, $total ) {
248248 ) {
249249 // Add a key.
250250 $ key = '_cld_synced ' ;
251- if ( ! $ this ->plugin ->get_component ( 'sync ' )->is_synced ( $ asset ) ) {
251+ if ( ! $ this ->plugin ->get_component ( 'sync ' )->is_synced ( $ asset, true ) ) {
252252 $ key = '_cld_unsynced ' ;
253253 add_post_meta ( $ asset , $ key , true , true );
254254 }
You can’t perform that action at this time.
0 commit comments