Hi Garvin,
I have compared the two files you mentioned from the latest snapshot (the last three are empty BTW) to my installed files. That is
Code: Select all
<?php # $Id: functions_entries.inc.php 2395 2008-12-09 10:05:33Z garvinhicking $
<?php # $Id: rss.php 2326 2008-08-27 19:20:23Z garvinhicking $
in my 1.4.1 installation and
Code: Select all
<?php # $Id: functions_entries.inc.php 2583 2009-09-12 11:18:28Z garvinhicking $
<?php # $Id: rss.php 2446 2009-01-30 14:03:31Z garvinhicking $
in the current snapshot. Unfortunately I don't see any change that involves the timestamps. Around line 1296 there is the following code in
serendipity_updertEntry which you might have in mind:
Code: Select all
if (!isset($entry['last_modified']) || !is_numeric($entry['last_modified'])) {
$entry['last_modified'] = $entry['timestamp'];
}
I guess that is never executed again, since the existing entry in draft mode in fact has a last_modified attribute. Shouldn't last_modified be the maximum of timestamp and the current time, that is
Code: Select all
$entry['last_modified'] = max($entry['timestamp'], time());
without any additional condition to make sure it is updated whenever the entry is saved?
Regards,
Stefan