Security concern: removing WP version from meta tag
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. |
Add this to somewhere towards the end of Atahualpa's functions.php
PHP Code:
|
Thanks. I realized I had to enclose it in PHP tags, right? Seems to be working.
|
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
|
Thank you. I just tried it and it works fine for me.
|
All times are GMT -6. The time now is 09:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.