Return to Snippet

Revision: 28242
at July 5, 2010 16:36 by josephknight


Initial Code
remove_action('wp_head', 'wp_generator');

Initial URL


Initial Description
If your WordPress blog is outdated even by a few days and there's a security hole in your old version you could be seriously compromised without even knowing it. Trust me. This has happened to two of my clients and the fix is not easy. Usually, once compromised, you have to delete the blog and reinstall WordPress, then scour your theme and uploaded files before re-uploading to the server. Avoid this hassle (or worse damage to your blog) if you can.

Initial Title
WordPress - remove version number from head

Initial Tags
php, wordpress, security

Initial Language
PHP