Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Gah, there is a plugin in http://ww.wp.xz.cn/extend/plugins/ but I can’t find it… Google Fu is failing me…
This plugin here works too. It’s from Angsuman’s blog.
It link for the plugin is hrml formatted but it contains this code:
<?php
/*
Plugin Name: WordPress Version Remover
Plugin URI: http://www.taragana.com/products
Description: Removes the WordPress header information from blog header.
Version: 1.0
Author: Angsuman Chakraborty
Author URI: http://blog.taragana.com
*/
add_action('init', 'removeWPVersionInfo');
function removeWPVersionInfo() {
remove_action('wp_head', 'wp_generator');
}
?>
Edit: Also see here.
no need to install as plugin…
just put this in the header.php
remove_action(‘wp_head’, ‘wp_generator’);
before the <? wp_header();?>
Another interesting article that tells you how to do it (the wp_head method). This also tells you how to remove 2 other unsightly lines that WP makes visible in your source code (Windows Live Writer and the RSD line of code),
http://www.petercolesdc.com/wordpress-ugly-wphead-pretty-face/
However, unfortunately, even with this — there are still blatent references to the WP version that will appear in the Admin screens. 🙁
This is bad because it appears for clients, authors, people who don’t know how to Upgrade WordPress and yet there is a yellow warning message telling them they need to “Get WP 2.6.5”. That’s not cool. That’s private info that should be only for the Admin.
How can we remove it or hide it from the WP-Admin screens — both the yellow warning line at the top, and in the WP-Admin footer?
http://ww.wp.xz.cn/extend/plugins/wp-security-scan/
Among other things, this plugin removes the version from non-admins, even if you aren’t logged in.