Should any other file be in wp-content?
-
Should there be any other files in the wp-content folder? Obviously the plugins, themes, upgrade and uploads folders should be there, but I have all these unexpected files ranging in dates for at least a year, some recent.
I was backing up my site files and database (before upgrading to 3.2.1 :-)) when I discovered about 20 strange files in my wp-content folder (at the same level as the “silence is golden” index.php file).
So you know the context of this, we have a form to enable users to make posts and upload pictures with links to their food blogs. These will display in our gallery at Chowstalker. We are using the plugin Photosmash which I will eventually abandon when I figure out how to do it better.
The strange files all have the text/x-generic file type but some of them appear to be htlm files from various sites run by other people and some are pngs or links to flickr. It looks like those files, pics, etc are related to content from contributors to our site and don’t appear malicious, but are just artifacts of something broken. So I don’t think I’m being hacked (I hope) and it is probably just a bug in the upload process. The file folder permission for wp-content is 755 and the strange files are 644. I have not done anything funky with chmod, and we are on a bluehost shared server.
Do you think I can safely delete those files? Do you have any ideas on how I can prevent them if they don’t belong?
Thanks, Ron
- The topic ‘Should any other file be in wp-content?’ is closed to new replies.