這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Disable XML-RPC & Unset X-Pingback

外掛說明

This plugin disables the XML-RPC API on a WordPress site running 3.5 or above and unsets the X-Pingback header.

Beginning in 3.5, XML-RPC is enabled by default. Additionally, the option to disable/enable XML-RPC was removed. For various reasons, site owners may wish to disable this functionality. This plugin provides an easy way to do so.

安裝方式

  1. Upload the disable-xml-rpc directory to the /wp-content/plugins/ directory in your WordPress installation
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. XML-RPC is now disabled!

To re-enable XML-RPC, just deactivate the plugin through the ‘Plugins’ menu.

常見問題集

Is there an admin interface for this plugin?

No. This plugin is as simple as XML-RPC is off (plugin activated) or XML-RPC is on (plugin is deactivated).

How do I know if the plugin is working?

There are two easy methods for checking if XML-RPC is off. First, try using an XML-RPC client, like the official WordPress mobile apps. Or you can try the XML-RPC Validator, written by Danilo Ercoli of the Automattic Mobile Team – the tool is available at http://xmlrpc.eritreo.it/ with a blog post about it at http://daniloercoli.com/2012/05/15/wordpress-xml-rpc-endpoint-validator/. If you host provides a caching service, make sure to clear your cache before you check with any of the validators.

使用者評論

2016 年 9 月 3 日
Completely disables the XML-RPC endpoint and also removes the "X-Pingback" header. No configuration needed. Just install and activate.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Disable XML-RPC & Unset X-Pingback〉的開發相關工作。

參與者

變更記錄

1.0

  • Initial release