New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: prevent give_payment_note from affecting comment count #3588
Comments
@kevcampb https://www.useloom.com/share/a3171a16174749a4ad73ed98fde140b4 |
Ravinderk, thanks for taking the time to look at this. The issue, which is clearly visible in your video, is that there are 2381 comments in total, but only 1 is shown. The others cannot be seem as they are not real comments. There is a deeper issue here with using the wp_comments table in this way, and it seems likely this will conflict with other plugins or future updates to that table. |
@kevcampb As I told you this is my dev environment and I also installed woocommerce on this. Those |
Resolved via #3627 |
@kevinwhoffman While testing this issue and discussion with @ravinderk, it seems that we don't have a filter to exclude the comments count of Let me know your thoughts. |
Slack Chat SummaryParticipants: @DevinWalker @kevinwhoffman @ravinderk @ravinderk Please move forward with the fix to remove old comments only if we can be sure that the comments have been successfully migrated to the custom tables. |
Closing this issue in favor of #3737 (comment) |
The give plugin writes in to wp_comments with a comment_type of 'give_payment_note'
These database entires cause problems on the Wordpress Comments section on the admin site, as they appear in the total comment counts, but not show up due to the non-standard comment-type.
I cannot find any documentation on the purpose of these entries, so I'm unclear as to whether they can be deleted safely.
The text was updated successfully, but these errors were encountered: