[wp-trac] Re: [WordPress Trac] #5680: wp-app.php handles "updated" element incorrectly on PUT

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 22 09:52:12 GMT 2008


#5680: wp-app.php handles "updated" element incorrectly on PUT
-----------------------+----------------------------------------------------
 Reporter:  tvachon    |        Owner:  westi   
     Type:  defect     |       Status:  reopened
 Priority:  normal     |    Milestone:  2.5     
Component:  General    |      Version:  2.5     
 Severity:  normal     |   Resolution:          
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by rubys):

  * summary:  wp-app.php handles "published" element incorrectly on PUT =>
              wp-app.php handles "updated" element
              incorrectly on PUT

Comment:

 Replying to [comment:8 ryan]:
 >
 > Seems that passing post_modified and post_modified_gmt to
 wp_update_post() wouldn't actually do anything.

 I have yet to figure out why that code is not working, but if you look
 [http://intertwingly.net/stories/2007/11/ape/report.html#dia-16 here] and
 scroll down a bit you will see a number of entries with
 {{{1999-11-30T00:00:00Z}}} timestamps.  I don't know where that date is
 coming from.  With this patch, post_modified and post_modified_gmt get
 passed to wp_update_post() and are stored properly.

 The last I heard, the next release of WordPress was scheduled for the end
 of January.  I don't know if that has moved, but I would like to request
 that either this patch be included or the previous patch be backed out
 before the release is made.

 I'm also changing the summary.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5680#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list