Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

Security concern: removing WP version from meta tag


  #1  
Old Sep 9, 2009, 10:36 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I had a horrible time when I tried to upgrade from WP 2.7.1 to 2.8.4, and have now rolled back to 2.7.1. I know I have to upgrade because of security problems....many sites have been hacked. I'm going to try again, or wait for help. But in the meantime, I want to remove the version number from the meta generator tag. How can I do that?

I tried the wp-security plugin, which removes that tag for you, but it seems to conflict with another plugin I need, Featured Content Gallery.
  #2  
Old Sep 15, 2009, 05:01 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Add this to somewhere towards the end of Atahualpa's functions.php

PHP Code:
remove_action('wp_head''wp_generator'); 
  #3  
Old Sep 16, 2009, 07:54 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Thanks. I realized I had to enclose it in PHP tags, right? Seems to be working.
  #4  
Old Sep 16, 2009, 12:41 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
If you put it somewhere between existing PHP tags <?php ... ?> then you wouldn't need to wrap them but if you add it somewhere outside of PHP tags, then you'd need to add them. If it works then it's alright
  #5  
Old Dec 10, 2009, 12:20 AM
Abbala21
 
1 posts · Dec 2009
Thank you. I just tried it and it works fine for me.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Meta tag description/keywords never appears - is_home is always false slimandslam Header configuration & styling 6 Nov 9, 2009 12:38 PM
No Index No Follow meta tag for specific pages kylen20 Excerpts, Read more, Pagination 2 Sep 28, 2009 03:44 AM
Atahualpa 3.4.1 Meta Title Tag problem? seventhyearfalling Other BFA WordPress Themes 4 Aug 27, 2009 04:30 PM
SEO options spoil my meta tag chars encoding PetrosPolonos Atahualpa 3 Wordpress theme 5 Aug 14, 2009 05:22 AM
Page title meta tag encoding issue pretenuomului Other BFA WordPress Themes 0 Jul 27, 2009 12:46 AM


All times are GMT -6. The time now is 12:21 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.