Defender and error.txt in \wp-admin directory

Defender keeps finding issues with WP Core files. All the issues seem to be a file named "error.txt" in the \wp-admin directory. This file does exist, but it is empty. I've tried deleting it and it comes back later. Any ideas? I've enabled support login. Thanks!

  • James Morris

    Hello Josh,

    I hope you are well today.

    Error.txt is not part of the WordPress core. It's possible that this file was created automatically by your server as part of the configuration for logging error messages. If so, it could be that the permissions on the file are preventing deletion.

    Would you please login via FTP and check the file system permissions on the file and ensure that the owner is the same as the other files in your WordPress installation?

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.