Опис
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.
- Upload
/host-header/
plugin to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Or, search for the plugin in the plugin repo.
- 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.