Comments created programmatically appear in revision mode

[ad_1]

I’m adding comments programatically using mysql code. It works well but the comments appears in revision mode in the UI ( e.g. instead of showing 3 comments it says 3 revisions).

How to make them appear as normal comments?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer