Home  >  Article  >  Backend Development  >  Solution to comment error in cos-html-cache plug-in_PHP tutorial

Solution to comment error in cos-html-cache plug-in_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:39:51912browse

After using cos-html-cache, WordPress' static page generation plug-in, after commenting on each article, the previous commenter's information is always displayed, including the message "Welcome to visit XXX again" even when cookies are cleared. If the cookies are not cleared, the name and email of the previous commenter will be directly displayed in the input box after clicking the name. Once the cookies are cleared, only the welcome to visit again XXX will be displayed instead of the name and email input boxes. After clicking the name, each input box None of them are worth it. In desperation, I deleted several js files. I hope this method can help you.
Find the comments file comments.php under wp-content hemes, find the div layer that says: Welcome again, delete it directly, I will delete the following, you can read your code yourself.




.'), $comment_author) ?>
Change username
Cancel changes



There is also the following paragraph:




OK, just solve the problem and go to sleep.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486267.htmlTechArticleAfter using WordPress’s static page generation plug-in cos-html-cache, after posting comments on each article, it always displays The information of the previous commenter, including clearing cookies, is also displayed: Welcome again...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn