PHP code in functions.php of all wordpress websites on my shared hosting

前端 未结 4 661
有刺的猬
有刺的猬 2021-02-06 05:30

I have a shared hosting and some wordpress websites on that. Recently sometimes when I visit my websites, popup opens. So I opened template directory of one wordpress website in

4条回答
  •  长发绾君心
    2021-02-06 06:08

    No need to do ton of such changes, simply do these two steps >>

    1 > Dashboard > Updates > "Re-install Now"
    This will re-install latest version of WordPress, overwriting infected wp core files.

    2 > Now open theme functions.php file in editor and remove malicious code snippet and hit save.

    All done! this time it will accept the file changes to remove infected code from functions.php file.

提交回复
热议问题