[wp-trac] [WordPress Trac] #21397: Expose post revisions on the XML-RPC Endpoint
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 12:12:56 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 koke):
Replying to [comment:32 maxcutler]:
> I believe you can drop `$fields` from `wp.restoreRevision`
[http://wpseek.com/wp_restore_post_revision/ wp_restore_post_revision()]
takes a `fields` parameter, so that's why I kept it
> 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.
I'll add the checks and keep working on tests today
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21397#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list