
The WordPress generator by default places a line of code in your <head> tag that displays the version of WordPress that you are running. However, that presents a potential problem because you are letting hackers know what version you are running. Therefore, if there are any vulnerabilities in the version you are running, you're at risk of being hacked.
I strongly suggest for security reasons that you remove the WordPress generator function that generates this line of code. It is very easy to do, and only requires one line of code to be added to the function.php file.
The default WordPress generator line of code looks like this:
<meta name="generator" content="WordPress 2.8" />
Just open the functions.php file with your text editor located in your WordPress install folder. Add the following code and place it between the <?php><?> tags.
Code to add to the functions.php file:
remove_action('wp_head', 'wp_generator');
When people look at your source code, they won't be able to see the version of WordPress that you are using. That's, one less thing to worry about!
Hope this information was helpful to you, "How to Remove the WordPress Generator" Be sure to share this with your friends on Twitter. Furthermore, I appreciate your time that you have spent here!
Spunky Jones.