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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 5 04:04:57 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 maxcutler):

 I believe you can drop `$fields` from `wp.restoreRevision`. You should
 also add cap checks against 'edit_post` for both of these methods. Then
 once we have unit tests for the two new methods we should be ready for
 trunk.

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


More information about the wp-trac mailing list