该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WordPress Host Headers

描述

This simple plugin that adds a “Host-Header” HTTP header where you can define your webhost. Web partners that scan for compromised websites can notify hosts more effectively to cleanup sites.

This plugin is super overkill. Adding a simple file with the following to your mu-plugins.php will have the same effect.

// custom-host-header.php
add_filter( 'wp_headers', function( $headers ) {
    $headers['Host-Header'] = 'YOUR HOST NAME HERE';
    return $headers;
} );

安装

This section describes how to install the plugin and get it working.

e.g.

  1. Upload /host-header/ plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Or, search for the plugin in the plugin repo.
  4. There is no step 4.

评价

此插件暂无评价。

贡献者及开发者

“WordPress Host Headers” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WordPress Host Headers”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Fix the clode block

1.0.0

  • Let’s kick this off.