Title: &quot;Remove WordPress Generator Meta Tag&quot; doesn&#039;t.
Last modified: August 21, 2016

---

# "Remove WordPress Generator Meta Tag" doesn't.

 *  [poundsixzeros](https://wordpress.org/support/users/poundsixzeros/)
 * (@poundsixzeros)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/)
 * Hi,
    I have checked the “Remove WordPress Generator Meta Tag” box but it still
   shows in the header. To make sure it wasn’t coming from my theme, I switched 
   to the WP default twenty- um…fourteen? Anyway, whatever the default is. But the
   generator meta still showed in the header. Is this no longer controlled by better
   wp security? Please help.
 * Thanks
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [dcrosbie](https://wordpress.org/support/users/dcrosbie/)
 * (@dcrosbie)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/#post-4661225)
 * Yes I am experiencing this same issue. I just noticed it after my upgrade to 
   3.8.1, but it is possible it could have been an issue before the upgrade since
   I did not actually check this.
 * Any solution to this yet?
 *  Thread Starter [poundsixzeros](https://wordpress.org/support/users/poundsixzeros/)
 * (@poundsixzeros)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/#post-4661240)
 * I ended up adding the following to my theme functions.php:
 * //Remove WordPress Generator Meta Tag
    remove_action(‘wp_head’, ‘wp_generator’);
 * It’s weird because this functionality worked in bwp before. There are other settings
   that are causing unexpected behavior too. Kind of unnerving – I don’t know which
   features are working and which aren’t. Maybe this version isn’t as stable as 
   the last one?
 *  [atao](https://wordpress.org/support/users/atao/)
 * (@atao)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/#post-4661291)
 * The reason for this is in inc/secure.php. The variable $isIWP is not correctly
   initialized in function __construct().
 * If the test:
    `if ( $HTTP_RAW_POST_DATA !== false && strlen( $HTTP_RAW_POST_DATA)
   > 0 )` doesn’t pass, $isIWP stays undefined. Then the condition is always false
   in the test: `if ( $isIWP === false )`
 * So just adding
    `$isIWP = false;` before the first test solves the issue.
 *  Thread Starter [poundsixzeros](https://wordpress.org/support/users/poundsixzeros/)
 * (@poundsixzeros)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/#post-4661292)
 * Thanks for the info. Easy fix until it’s time for a bwp update. Then I have to
   remember to make the change. Ugh. There are so many things wrong with bwp now,
   this being one of them. So many things broke on the last two versions of bwp –
   it doesn’t even do the things i wanted it for in the first place. I guess it’s
   time for a new security plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘"Remove WordPress Generator Meta Tag" doesn't.’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [poundsixzeros](https://wordpress.org/support/users/poundsixzeros/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/remove-wordpress-generator-meta-tag-doesnt/#post-4661292)
 * Status: not resolved