I'm experiencing a strange issue with the Private Comments addon.
I'm using LearnDash with wpDiscuz Private Comments.
A user was accidentally deleted and later recreated with the same email address.
Example:
- Old user ID: 124
- New user ID: 654
- Same email address
- Same username
I updated all old comments in the wp_comments table so they now reference the new user_id.
I also verified that:
comment_type = privatecomment_parent = 0comment_approved = 1course_idinwp_commentmetais identical to newly created private comments.- Old and new comments are otherwise identical.
Current behavior:
- All new private comments work correctly.
- All old private comments display:
"This content has been hidden from site admin."
This happens:
- while logged in as Administrator
- and even when logged in as the recreated user himself.
The comments are not lost.
In the WordPress backend I can edit them normally and see their full content.
There are no custom wpDiscuz database tables in my installation, only the standard wp_comments and wp_commentmeta tables.
Is there any additional metadata, cache, or internal mapping used by the Private Comments addon that may still reference the old user?
Or is there a repair/synchronization procedure for old private comments after a user has been recreated?
Thank you!
