Having upgraded to Wordpress 2.5.1 I discovered that if you include wp_head(); in your theme’s header.php, it now displays the following within the generated html header tags by default.

<meta name="generator" content="WordPress 2.5.1" />

Perhaps you don’t want to announce to the world exactly which version of Wordpress you are using - especially if you are slow to upgrade when new exploits become known.

The answer is to add:-

remove_action('wp_head', 'wp_generator');

to your theme’s functions.php file.

If you don’t have the file functions.php within your theme’s folder, simply make one.