Skip to content

Commit

Permalink
fix: import count
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Dec 20, 2024
1 parent 8603512 commit 9720267
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/admin/feedzy-rss-feeds-import.php
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,9 @@ private function get_complete_import_status( $post_id ) {
if ( $items ) {
$status['cumulative'] = count( $items );
}
if ( ! empty( $status['duplicates'] ) ) {
$status['total'] = absint( $status['total'] - count( $status['duplicates'] ) );
}

return $status;
}
Expand Down

0 comments on commit 9720267

Please sign in to comment.