[wp-trac] [WordPress Trac] #19027: XML-RPC metaWeblog.getPost and metaWeblog.getRecentPosts don't return posts' modification date.
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 19 16:42:33 UTC 2012
#19027: XML-RPC metaWeblog.getPost and metaWeblog.getRecentPosts don't return
posts' modification date.
------------------------------+------------------------------
Reporter: ocollet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------------------
Comment (by ocollet):
I was actually trying to get consistent with the `postCreated` property,
therefore my suggestion to have the following fields:
`postCreated`, `postModified`, `post_date_gmt` and `post_modified_gmt`.
Replying to [comment:4 ericmann]:
> Replying to [comment:3 maxcutler]:
> > If you only expose the GMT version, then XML-RPC clients have to do
their own datetime math (and call getOption to figure out the blog display
timezone) to determine what the displayed value should be.
>
> I agree. We should expose both the GMT and local post modified fields
... but we should be consistent in how we name them. If we're using
`post_modified_gmt` we should also use `post_modified` rather than
`postModified`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19027#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list