Skip to content

Commit 9720267

Browse files
fix: import count
1 parent 8603512 commit 9720267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

includes/admin/feedzy-rss-feeds-import.php

+3
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,9 @@ private function get_complete_import_status( $post_id ) {
991991
if ( $items ) {
992992
$status['cumulative'] = count( $items );
993993
}
994+
if ( ! empty( $status['duplicates'] ) ) {
995+
$status['total'] = absint( $status['total'] - count( $status['duplicates'] ) );
996+
}
994997

995998
return $status;
996999
}

0 commit comments

Comments
 (0)