Track last modified time
git-svn-id: http://svn.automattic.com/wordpress/trunk@867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
705f788684
commit
5d0459dc8e
|
@ -85,7 +85,7 @@ switch($action) {
|
||||||
$ss = ($ss > 59) ? $ss - 60 : $ss;
|
$ss = ($ss > 59) ? $ss - 60 : $ss;
|
||||||
$now = "$aa-$mm-$jj $hh:$mn:$ss";
|
$now = "$aa-$mm-$jj $hh:$mn:$ss";
|
||||||
} else {
|
} else {
|
||||||
$now = date('Y-m-d H:i:s', (time() + ($time_difference * 3600)));
|
$now = current_time('mysql');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($HTTP_POST_VARS['mode'])) {
|
if (!empty($HTTP_POST_VARS['mode'])) {
|
||||||
|
@ -310,6 +310,7 @@ switch($action) {
|
||||||
} else {
|
} else {
|
||||||
$datemodif = '';
|
$datemodif = '';
|
||||||
}
|
}
|
||||||
|
$now = current_time('mysql');
|
||||||
|
|
||||||
$result = $wpdb->query("
|
$result = $wpdb->query("
|
||||||
UPDATE $tableposts SET
|
UPDATE $tableposts SET
|
||||||
|
@ -323,7 +324,8 @@ switch($action) {
|
||||||
ping_status = '$ping_status',
|
ping_status = '$ping_status',
|
||||||
post_password = '$post_password',
|
post_password = '$post_password',
|
||||||
post_name = '$post_name',
|
post_name = '$post_name',
|
||||||
to_ping = '$trackback'
|
to_ping = '$trackback',
|
||||||
|
post_modified = '$now'
|
||||||
WHERE ID = $post_ID ");
|
WHERE ID = $post_ID ");
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue