
內容簡介
這個外掛可以移除 WordPress 版本號的 meta generator 標籤。
這是一個簡單的外掛,可以避免別人通過 HTML 源代碼得知你的 WordPress 版本號。
這個外掛很簡單。您可以在您的佈景主題的 functions.php 檔案中加入以下程式碼以達到相同效果:
remove_action('wp_head', 'wp_generator');
但如果您不熟悉編輯 PHP 檔案,您也可以使用這個外掛來移除 HTML 中的 WordPress 版本號。
這個外掛沒有任何設定並且不會改變資料庫。
外掛的網站:https://www.gattowp.com/
作者的網站:http://technotes.marziocarro.com/
外掛標籤
開發者團隊
原文外掛簡介
Removes the meta generator tag, with WordPress Version.
A simple plugin to prevent people from knowing what version of WordPress you’re using via your HTML source.
This is a very simple plugin. You can get the same thing by adding this line to funcions.php file of your theme:
remove_action(‘wp_head’, ‘wp_generator’);
But if you’re not comfortable editing a php file, you can use this plugin to remove the WordPress version from your HTML.
The plugin has no settings and does not alter the database.
Plugin’s website: https://www.gattowp.com/
Author’s website: http://technotes.marziocarro.com/
