Title: Remove XML-RPC Methods
Author: Walter Ebert
Published: <strong>2020 年 2 月 10 日</strong>
Last modified: 2026 年 3 月 26 日

---

搜索插件

![](https://ps.w.org/wee-remove-xmlrpc-methods/assets/banner-772x250.jpg?rev=2241564)

![](https://ps.w.org/wee-remove-xmlrpc-methods/assets/icon-256x256.jpg?rev=2241564)

# Remove XML-RPC Methods

 作者：[Walter Ebert](https://profiles.wordpress.org/walterebert/)

[下载](https://downloads.wordpress.org/plugin/wee-remove-xmlrpc-methods.1.4.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wee-remove-xmlrpc-methods/#description)
 * [评价](https://cn.wordpress.org/plugins/wee-remove-xmlrpc-methods/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wee-remove-xmlrpc-methods/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wee-remove-xmlrpc-methods/#developers)

 [支持](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/)

## 描述

Removes all WordPress methods from the XML-RPC API to increase security. It does
more than just using the `xmlrpc_enabled` hook, because that is only used “To disable
XML-RPC methods that require authentication”.

Activating this plugin will also disable pingbacks, trackbacks, and Really Simple
Discovery (RSD), because these rely on XML-RPC.

It works with any webserver, because it does not use the .htaccess file.

#### Testing the plugin

From the command line you can test if the plugin is working correctly using [curl](https://curl.haxx.se/).
Replace the `example.com` link to match your website:

    ```
    curl -d '<?xml version="1.0"?><methodCall><methodName>system.listMethods</methodName><params><param><value><string/></value></param></params></methodCall>' https://example.com/xmlrpc.php
    ```

This should only return the following methods:
 – `system.multicall` – `system.listMethods`–`
system.getCapabilities`

## 安装

 1. Download the plugin and unzip it. Copy the files to the `/wp-content/plugins/wee-
    remove-xmlrpc-methods` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

![](https://secure.gravatar.com/avatar/407fdfe451c92896d8ecabc44d2635ab54fc16296ce60f0ede3292568b3f1a90?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-2195/)󠁿

 [muhaos](https://profiles.wordpress.org/muhaos/) 2024 年 10 月 27 日

works

![](https://secure.gravatar.com/avatar/8e57d327a741bb67147a3d6385f50f204a016b3cef6fa568b4046554ddc7deb8?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-5325/)󠁿

 [brondsem](https://profiles.wordpress.org/brondsem/) 2020 年 5 月 1 日

Seems to work as expected.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/)

## 贡献者及开发者

「Remove XML-RPC Methods」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Walter Ebert ](https://profiles.wordpress.org/walterebert/)

[帮助将「Remove XML-RPC Methods」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wee-remove-xmlrpc-methods)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wee-remove-xmlrpc-methods/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wee-remove-xmlrpc-methods/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wee-remove-xmlrpc-methods/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wee-remove-xmlrpc-methods/)。

## 更新日志

#### 1.4.2

 * Updated description
 * Tested WordPress up to version 7.0.

#### 1.4.1

 * Updated description and tags

#### 1.4.0

 * Tested with PHP 8.0
 * Tested WordPress up to version 5.6.

#### 1.3.1

 * Correct description

#### 1.3.0

 * Replace PHP `header` function with `http_response_code`.
 * Update readme.txt.
 * Raise minimal supported WordPress version to 4.6.
 * Tested WordPress up to version 5.5.

#### 1.2.0

 * Replace pings_open action function with built-in function.
 * Increase pings_open action priority.
 * Raise minimal supported WordPress version to 4.4.
 * Tested WordPress up to version 5.4.

#### 1.1.0

 * Deactivate pingbacks on install.
 * Remove RSD link reference.

## 额外信息

 *  版本 **1.4.2**
 *  最后更新：**2 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.4.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wee-remove-xmlrpc-methods/)
 * 标签
 * [security](https://cn.wordpress.org/plugins/tags/security/)[xml-rpc](https://cn.wordpress.org/plugins/tags/xml-rpc/)
   [xmlrpc](https://cn.wordpress.org/plugins/tags/xmlrpc/)
 *  [高级视图](https://cn.wordpress.org/plugins/wee-remove-xmlrpc-methods/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/reviews/)

## 贡献者

 *   [ Walter Ebert ](https://profiles.wordpress.org/walterebert/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wee-remove-xmlrpc-methods/)