Before making changes to your theme, always make sure you backup your files.
Within your themes directory is a file called functions.php. Simply add this line to that file between the php tags (ex: under the <?php tag )
This will remove the “generator” tag from appearing in the meta head section of your wordpress website.
You will likely also find a generator tag within the theme header file, and it will look something like this:
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /><!– leave this for stats please –>
You can also safely remove these lines also if you’d like.
Why would I want to do this? Well, there is a small security gain to be made, as some malicious scanners will scan accross the web looking for vulnerable or certain versions of WordPress, and it is in your best interest not to broadcast it out.