Title: XML-RPC Modernization
Author: Max Cutler
Published: <strong>2012 年 1 月 21 日</strong>
Last modified: 2012 年 12 月 3 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/xml-rpc-modernization.svg)

# XML-RPC Modernization

 作者：[Max Cutler](https://profiles.wordpress.org/maxcutler/)

[下载](https://downloads.wordpress.org/plugin/xml-rpc-modernization.zip)

 * [详情](https://cn.wordpress.org/plugins/xml-rpc-modernization/#description)
 * [评价](https://cn.wordpress.org/plugins/xml-rpc-modernization/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/xml-rpc-modernization/#developers)

 [支持](https://wordpress.org/support/plugin/xml-rpc-modernization/)

## 描述

This plugin brings XML-RPC API enhancements from the WordPress 3.4 release to previous
versions
 of WordPress (3.3 and earlier). It also adds new user management methods.

It is derived from Prasath Nadarajah’s GSoC ’11 project to expand WordPress’ web
services,
 although the exposed API methods are not compatible (different parameter
names/types/orders).

#### Methods

New Methods:

 * wp.newUser – create a new user
 * wp.editUser – edit user information
 * wp.deleteUser – delete a specfic user

3.5 Methods for pre-3.5 sites:

 * wp.getUser – get information about a specific user
 * wp.getUsers – retrieve a list of users
 * wp.getProfile – retrieve information about the requesting user
 * wp.editProfile – edit the profile of the requesting user
 * wp.getRevisions – retrieve revisions for a specific post
 * wp.restoreRevision – restore a post revision

3.4 Methods for pre-3.4 sites:

 * wp.newPost – create a new post (of any post type)
 * wp.editPost – edit a post (of any post type)
 * wp.deletePost – delete a post (of any post type)
 * wp.getPost – get a specific post (of any post type)
 * wp.getPosts – get a list of posts
 * wp.getPostType – get information about a specific post type
 * wp.getPostTypes – get a list of registered post types
 * wp.getTaxonomy – get information about a specific taxonomy
 * wp.getTaxonomies – get a list of registered taxonomies
 * wp.newTerm – create a new term in a taxonomy
 * wp.editTerm – edit a term in a taxonomy
 * wp.deleteTerm – delete a term in a taxonomy
 * wp.getTerm – get information about a specific term in a taxonomy
 * wp.getTerms – get a list of term associated with a taxonomy

## 评价

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

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

 [Amir m.](https://profiles.wordpress.org/aidev/) 2018 年 1 月 25 日

a

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/xml-rpc-modernization/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Max Cutler ](https://profiles.wordpress.org/maxcutler/)

[帮助将「XML-RPC Modernization」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/xml-rpc-modernization)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.9

 * Alignment with WordPress core version of wp.getUser and wp.getUsers.
 * Renamed wp.getUserInfo to wp.getProfile to match 3.5 core.
 * Added wp.editProfile to match WordPress core.
 * Added wp.getRevisions and wp.restoreRevision methods to match 3.5 core.
 * Added ‘post_id” parameter to wp.uploadFile.
 * Added ‘s’ parameter to wp.getPosts.
 * Added ‘if_not_modified_since’ parameter to wp.editPost.
 * Added ‘post_parent’, ‘guid’, ‘post_mime_type’ and ‘menu_order’ to _prepare_post.
 * Fixed several small bugs in wp.editPost.

#### 0.8.2

 * Added ‘attachment_id’ to wp.getMediaLibrary and wp.getMediaItem to match 3.4 
   core.

#### 0.8.1

 * Fixed broken ‘number’ filter parameter behavior for wp.getPosts.
 * Fixed broken ‘id’ return value of wp.uploadFile and metaWeblog.newMediaObject.

#### 0.8

 * Alignment with WordPress core progress (RC1).
 * Removed wp.getPostTerms and wp.setPostTerms.
 * Added ‘id’ to wp.uploadFile return value.
 * Added new options for wp.getOptions and wp.setOptions to match 3.4 core.
 * Added minimum argument count guards to users methods.
 * Added additional fields to wp.newUser and wp.editUser.

#### 0.7.5

 * Alignment with WordPress core progress on post and taxonomy methods.
 * Added `filter` parameter to wp.getTerms.
 * Added `featured_image` field support for post methods.
 * Fixed date-related bugs for draft posts.

#### 0.7.1

 * PHP 5.2.x compatibility fix.
 * Typo corrections.
 * Alignment with WordPress core version of post methods.

#### 0.7

 * Added wp.newPost, wp.editPost, and wp.deletePost methods.

#### 0.6

 * Revised implementations of many methods.
 * Added `fields` parameter to wp.getUser and wp.getUsers.
 * Updated method docstrings.
 * Moved new XML-RPC server class implementation to its own file.
 * Added new wp.getUserInfo method.
 * Added `group_by_taxonomy` parameter to wp.getPostTerms.

#### 0.5

 * Initial release containing most of the anticipated methods.

## 额外信息

 *  版本 **0.9**
 *  最后更新：**14 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/xml-rpc-modernization/)
 * 标签
 * [api](https://cn.wordpress.org/plugins/tags/api/)[xml-rpc](https://cn.wordpress.org/plugins/tags/xml-rpc/)
   [xmlrpc](https://cn.wordpress.org/plugins/tags/xmlrpc/)
 *  [高级视图](https://cn.wordpress.org/plugins/xml-rpc-modernization/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/xml-rpc-modernization/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/xml-rpc-modernization/reviews/)

## 贡献者

 *   [ Max Cutler ](https://profiles.wordpress.org/maxcutler/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/xml-rpc-modernization/)