Remove Version Info

描述

Remove the version from your WordPress website completely, increasing security and thwarting potential hacks by hiding WordPress version information from the source code.

This plugin:
– Removes the WordPress version number from the HTML meta generator tag.
– Removes version query strings (?ver=x.x.x) from CSS and JavaScript files.
– Hides the WordPress version from RSS feed generator tags.
– Adds security headers to prevent attacks and improve site security.

螢幕截圖

  • screenshot-1.png

安裝

  1. Upload remove-version-info.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to your homepage, CTRL+U to view the source, and confirm that the WordPress version number has been removed from:
    • Meta generator tag.
    • Query strings in CSS and JS files.
  4. Optional: You can check your security headers using developer tools in your browser to verify that headers like Content-Security-Policy and X-Content-Type-Options are being set.

常見問題

Why should I use this plugin when I can just put the code into my functions.php file?

You can do that, but when you update or change your theme, it will be removed (along with any other modifications done to the functions.php file).

Will this plugin persist even if I change or update my theme?

Yes. This plugin works independently of your theme and will continue to function regardless of theme changes.

What happens if I deactivate or uninstall this plugin?

If you deactivate or uninstall this plugin, the version information will no longer be removed.

What security headers does this plugin add?

The plugin adds the following headers:
Content-Security-Policy: Helps prevent XSS attacks by specifying allowed sources for content.
X-Content-Type-Options: Prevents browsers from interpreting files as a different MIME type.
X-UA-Compatible: Forces Internet Explorer to use the latest rendering engine.

評價

2017年5月21日
This plugin is ultra simple and does his job.
閱讀全部1個評價

貢獻者及開發者

“Remove Version Info” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Remove Version Info 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • Combined filters for version removal to improve code efficiency.
  • Added security headers like Content-Security-Policy and X-Content-Type-Options for enhanced security.
  • Added localization support for plugin translations.
  • Improved code comments for better maintainability and readability.

1.1

  • Initial release.