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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 18 19:24:32 GMT 2008


#5680: wp-app.php handles "published" 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  |  
-----------------------+----------------------------------------------------
Comment (by tvachon):

 From rfc 4289:

 The "atom:published" element is a Date construct indicating an instant in
 time associated with an event early in the life cycle of the entry.

 vs.

 The "atom:updated" element is a Date construct indicating the most recent
 instant in time when an entry or feed was modified in a way the publisher
 considers significant.

 which, IMHO), corresponds better to "changing the timestamp" of an entry.

 It looks like [6635] allows for this well, with line 335 changing from

         $pubtimes = $this->get_publish_time($parsed->published);

 to

         $pubtimes = $this->get_publish_time($parsed->updated);


 I haven't tested out APE with this change in place, but I'll give it a
 shot when I get a chance.

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


More information about the wp-trac mailing list