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).
- 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
Contributors and Developers
“XML-RPC Modernization” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- 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.
- Added ‘attachment_id’ to wp.getMediaLibrary and wp.getMediaItem to match 3.4 core.
- Fixed broken ‘number’ filter parameter behavior for wp.getPosts.
- Fixed broken ‘id’ return value of wp.uploadFile and metaWeblog.newMediaObject.
- 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.
- Alignment with WordPress core progress on post and taxonomy methods.
filterparameter to wp.getTerms.
featured_imagefield support for post methods.
- Fixed date-related bugs for draft posts.
- PHP 5.2.x compatibility fix.
- Typo corrections.
- Alignment with WordPress core version of post methods.
- Added wp.newPost, wp.editPost, and wp.deletePost methods.
- Revised implementations of many methods.
fieldsparameter 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.
group_by_taxonomyparameter to wp.getPostTerms.
- Initial release containing most of the anticipated methods.