which error_log.php to delete? – and can I delete the .git folder?
-
Hi,
I’ve made some adjustments in a child theme of Twenty-Twelve (mainly css changes) and thought i should check it with your Theme-Check plugin…It popped up with 2 WARNINGS – but I’m not confident to just go ahead and delete them, as this is really outside of my comfort zone.
The 1st Warning = error_log PHP error log found.
As I couldn’t find an error_log.php file in my child theme I searched all my files via my cPanel and have found a few – just don’t know for sure which one to delete. The files are:/public_html/error_log
/public_html/wp-admin/error_log
/public_html/wp-content/themes/twentytwelve/error_log
/public_html/wp-includes/error_logI assume it would be the one that sits in the Twentytwelve theme? Does anyone have any advice please?
The 2nd Warning = .git Hidden Files or Folders found.
I can find the .git folder, in the child theme directory, and it has these sub-folders in it:hooks: 4 KB httpd/unix-directory 0755
info: 4 KB httpd/unix-directory 0755
logs: 4 KB httpd/unix-directory 0755
objects: 4 KB httpd/unix-directory 0755
refs: 4 KB httpd/unix-directory 0755
config: 313 bytes text/x-generic 0644
description: 73 bytes text/x-generic 0644
HEAD: 23 bytes text/x-generic 0644
index: 2.19 KB text/x-generic 0644I’ve looked in all of these and they don’t appear to be important, but I’ve never had any dealings with .git files, and can only find limited info in the forums and online – something used for versions during development?
My question is: Is it really OK to just go ahead and delete this folder??
I’m sure these are very basic questions for theme developers, but I’d really appreciate some guidance, as I’m trying to improve my child theme to ‘harden’ my wp site for security.
- The topic ‘which error_log.php to delete? – and can I delete the .git folder?’ is closed to new replies.