[bbPress Plugin] Remove meta generator tag

Flaws are everywhere. The point is how quickly they are fixed but it seems that some users are lazy enough not to upgrade or go on for a vacation before they decide to update. bbPress adds a meta generator tag to the page which shows up the bbPress version but it is advised to remove it so that at a later date no one gets to know if you are running an older version which has un-patched flaws & could be exploited.

<meta name="generator" content="bbPress 1.0.2" />

In bbPress 1.0+ you can remove the meta tag generator by adding a single line of code to your functions.php file to your theme’s folder. If there is no functions.php file in your theme folder then create a new one with the name and add this line:

remove_action('bb_head', 'bb_generator');

For those who don’t want to do this by editing a file and would prefer to do it by a plugin, here is a tiny plugin to do the same.

Download bbPress Plugin