How to Remove the Generator bbPress

27 May 2010 by Rick ~ 0 Comments 668 views

And they keep doing it…

When you install a WordPress and looks like also when you install a bbPress they add you a meta generator.

It shows wich version are you using and I don’t like to share my software version.

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

The hackers could use it in their advantage to hack my site.

So, lets remove it.

Open your functions.php located in your theme folder (if it doesn’t exist create it) and add this remove action.

remove_action('bb_head', 'bb_generator');

Subscribe by E-mail:

« »
Add a Comment

Use [code] example piece of code [/code] to insert code into your comment.