[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:31:45 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 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:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list