restoing core files to their original state in defender

Hi,
Are there any plans to add the to defender the ability to restore core and other files back to their original "out of box" state? This can be helpful for quick fixing of problems.

  • Vaughan

    Hi corn,

    Hope you're well?

    I'm not so sure on this, it's always possible to restore the wp core files from the Wordpress updates page.

    Dashboard > Dashboard > updates

    But other files, i'm not so sure, Defender doesn't actually store copies of the files at all, it simply takes the filename, filesize & other meta info such as last updated & file creation dates for each file and creates a Hash key from that data.
    If a file is changed, then it would produce a completely different hash.

    So all Defender is doing, is checking whether the file hashes match, if not, it gives an alert that the file has been changed.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.