Malware in functions.php

Hi!

my hosting provider shut my site down because they identified malware in wp-content/themes/x-child/functions.php. I ran that file through ai, whicht confirmed that.
Now I would like to replace the file with the original functions.php. There is no chlid theme inlcuded in the downloaded files for x, but can I just use the file that is there instead (‘x_package/x/functions.php’)?

Thanks,
Ben

No you can’t just use the functions.php file you referenced. Checkout the guide here on getting the child theme files. Let us know if that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.