[wp-trac] [WordPress Trac] #21397: Expose post revisions on the XML-RPC Endpoint
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 12 13:31:30 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):
Replying to [comment:15 markoheijnen]:
> About the functionality. We don't want to save a post but we want to
create a new revision for a specific post. That can be put live when
needed. It's for loading the content into the site without needing it to
be saved. A little bit what core does now when you writing a post for a
long time and it saves when you are writing.
Are you referring to the autosave behavior? I'm not sure why that warrants
an entire new method (which must be maintained in perpetuity) instead of
just adding a flag to `wp.editPost`.
These new methods look awfully similar to the existing post methods, and I
don't yet see a clear advantage to increasing the maintenance and
documentation burden when the same could be accomplished with simple
filters/flags on existing methods.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21397#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list