[wp-trac] [WordPress Trac] #21397: Expose post revisions on the XML-RPC Endpoint

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 8 18:59:54 UTC 2012


#21397: Expose post revisions on the XML-RPC Endpoint
--------------------------+------------------
 Reporter:  daniloercoli  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  mobile        |
--------------------------+------------------

Comment (by brandondove):

 Replying to [comment:12 markoheijnen]:
 > You want to create a new post with the post type revision. Looking
 further to the code wp.newRevision wil not work correctly.
 What's the point of creating a new revision by itself? Is there
 functionality in core that supports doing that as a one off action?

 > Also I'm wondering if the add_action there is valid since the change is
 that it is already loaded
 I'm using the action here because that's how core handles creating the
 revision when you edit a post in the post editor.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21397#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list