Title: XML-RPC Core Update
Author: Max Cutler
Published: September 17, 2012

---

 [  ](https://profiles.wordpress.org/maxcutler/) [Max Cutler](https://profiles.wordpress.org/maxcutler/)
8:43 pm _on_ September 17, 2012      

# XML-RPC Core Update

I wanted to give the mobile devs an update on one of the two big XML-RPC features
in coreCore Core is the set of software required to run WordPress. The Core Development
Team builds WordPress. for 3.5:

Last week we [landed](https://core.trac.wordpress.org/changeset/21824) the user-
related enhancements ([#18428](https://core.trac.wordpress.org/ticket/18428)), and
today I got some docs up on the codex:

 * [wp.getUser](https://codex.wordpress.org/XML-RPC_WordPress_API/Users#wp.getUser)
 * [wp.getUsers](https://codex.wordpress.org/XML-RPC_WordPress_API/Users#wp.getUsers)
 * [wp.getProfile](https://codex.wordpress.org/XML-RPC_WordPress_API/Users#wp.getProfile)
 * [wp.editProfile](https://codex.wordpress.org/XML-RPC_WordPress_API/Users#wp.editProfile)

The first two allow for retrieving information about arbitrary users, including 
some basic querying capabilities.

The latter two allow for reading and editing of the requesting user’s basic profile
information. Email and password are not allowed to be edited for security reasons,
but this will at least allow for management of the other fields from the mobile 
apps.

Last week also saw the [removal](https://core.trac.wordpress.org/changeset/21804)
of the UIUI UI is an acronym for User Interface - the layout of the page the user
interacts with. Think ‘how are they doing that’ and less about what they are doing.
option to disable XML-RPC. So starting in 3.5, XML-RPC will be enabled by default
in WP.org sites, although devs have the ability to disable it using a filterFilter
Filters are one of the two types of Hooks [https://codex.wordpress.org/Plugin_API/Hooks](https://codex.wordpress.org/Plugin_API/Hooks).
They provide a way for functions to modify data of other functions. They are the
counterpart to Actions. Unlike Actions, filters are meant to work in an isolated
manner, and should never have side effects such as affecting global variables and
output..

The other major XML-RPC feature this release is revisionsRevisions The WordPress
revisions system stores a record of each saved draft or published update. The revision
system allows you to see what changes were made in each revision by dragging a slider(
or using the Next/Previous buttons). The display indicates what has changed in each
revision., which we can hopefully wrap up in the next couple of days.

### Share this:

 * [  Threads ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=facebook)
 * [  X ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fmobile%2F2012%2F09%2F17%2Fxml-rpc-core-update%2F%23respond&locale=en_US)

 1.  ![](https://secure.gravatar.com/avatar/f4cabd36e84d032e44c79a24fa9142db7bc388cfd5ade8a9ffabba978231b7ba?
     s=32&d=mm&r=g)
 2.   [Jorge Bernal](https://profiles.wordpress.org/koke/)  11:17 am _on_ September
     18, 2012
 3.  Happy to hear about XML-RPC enabled by default 🙂
 4.   * ![](https://secure.gravatar.com/avatar/92731d10d174d1d94ead76edf907e1b72c951b05e99655775b55736dd4100527?
        s=32&d=mm&r=g)
      *  [Dan](https://profiles.wordpress.org/mrroundhill/)  7:32 am _on_ September
        19, 2012
      * Yeah, that’s very very cool.
 5.  ![](https://secure.gravatar.com/avatar/224baa1082f23d0a3bb3a85630e7d71ca6d02a2fb4928db1f21309846ab6df66?
     s=32&d=mm&r=g)
 6.   [Max Cutler](https://profiles.wordpress.org/maxcutler/)  8:47 pm _on_ September
     18, 2012
 7.  Another minor improvement: [https://core.trac.wordpress.org/changeset/21896](https://core.trac.wordpress.org/changeset/21896)
 8.  Now in wp.uploadFile, you can pass in ‘post_id’ and it will actually attach the
     image to a post (instead of it being orphaned). This should allow galleries to
     be done in the mobile app more easily using the naked [gallery] shortcodeShortcode
     A shortcode is a placeholder used within a WordPress post, page, or widget to 
     insert a form or function generated by a plugin in a specific location on your
     site..
 9.  ![](https://secure.gravatar.com/avatar/b518a5cf86a31ce1c2a64870b6e15a1e63e9827afc75f8fc12f7095d0cce7fb4?
     s=32&d=mm&r=g)
 10.  [Marko Heijnen](https://profiles.wordpress.org/markoheijnen/)  7:43 pm _on_ September
     19, 2012
 11. Awesome stuff. Happy to see that most of the stuff is getting done for 3.5 🙂
 12. ![](https://secure.gravatar.com/avatar/1a7df76f4f6519a5618c32428b277a5c7a89798394965b67e50528ca57c1b5a8?
     s=32&d=mm&r=g)
 13.  [Andrew Nacin](https://profiles.wordpress.org/nacin/)  7:29 am _on_ September
     26, 2012
 14. Following up on revisionsRevisions The WordPress revisions system stores a record
     of each saved draft or published update. The revision system allows you to see
     what changes were made in each revision by dragging a slider (or using the Next/
     Previous buttons). The display indicates what has changed in each revision.: The
     latest patch has gotten a code review and will need some updates. [https://core.trac.wordpress.org/ticket/21397](https://core.trac.wordpress.org/ticket/21397)

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/mobile/2012/09/17/xml-rpc-core-update/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fmobile%2F2012%2F09%2F17%2Fxml-rpc-core-update%2F&locale=en_US)
to post a comment.

# Post navigation

[← No Mobile Dev Chat This Week](https://make.wordpress.org/mobile/2012/09/12/no-mobile-dev-chat-this-week/)

[Mobile Dev Chat Sep 19, 2012 →](https://make.wordpress.org/mobile/2012/09/19/mobile-dev-chat-sep-19-2012/)