Today, Lao Zuo's blog encountered an event. When I opened Lao Zuo's blog with Firefox, an interface blocking access appeared. If it was blocked, it would be caused. It can be accessed with other browsers. After finding relevant information, we can see that a trojan horse in the blog was blocked by Google after being hacked. We will also see "This site may be corrupted" in the Google search results, meaning that this website is blocked and has malware.
Laozuo's blog is a new content, there are not many articles, and it will not put malware. What is the problem? Then I asked my colleague to tell me whether WordPress was not upgraded to the latest version because there were many vulnerabilities in the previous version. Upgrade to the latest version in time.
So I upgraded to the latest version and directly updated it in the background. Then check the function.php file, which should be in the current template. In the code at the bottom, there are some random codes that we don't know. Delete them and save them. How to restore the website? The application can be resubmitted through Google Administrator tool. Explain that you have solved the problem.