The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Using wp_insert_com...
 
Share:
Notifications
Clear all

Issue [Solved] Using wp_insert_comment() doesn't make the comment appear in frontend

3 Posts
2 Users
0 Reactions
580 Views
Posts: 10
Topic starter
(@wizard)
Eminent Member
Joined: 2 years ago

Hello,

I'm using the native function wp_insert_comment to write a comment to a post. Technically, it works well: The comment is in the backend and in the database. However, when I go to that post, the comment is not there.

But when I update any comment or if I delete a comment in the backend, suddenly I also see the previous comment I created with that function. It seems like there is some cache that gets deleted when I do a change in the comments in the backend? 

It has to do something with wpDiscuz because disabling the plugin also makes the issue go away

2 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@wizard,

Could you please check and let us know if the "Enable Cache" is enabled or not? The option is located in the Dashboard > wpDiscuz > Settings > General Settings tab.

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

We have not received a reply from you for over a couple of weeks, therefore we will be closing this topic. Please create a new one if you require any additional help.

Thank You!

Share: