Make WordPress Core

Ticket #5774: r6735_date.diff

File r6735_date.diff, 1.2 KB (added by ffemtcj, 17 years ago)

Fixes problem of saved on

  • wp-admin/edit-form-advanced.php

     
    133133else
    134134        $time = __('Saved on:<br />%1$s at %2$s');
    135135?>
    136 <p><?php printf($time, mysql2date(get_option('date_format'), $post->post_date), mysql2date(get_option('time_format'), $post->post_date)); ?>
     136<p><?php printf($time, mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
    137137<?php endif; ?>
    138138</div>
    139139
  • wp-admin/edit-page-form.php

     
    9898else
    9999        $time = __('Saved on:<br />%1$s at %2$s');
    100100?>
    101 <p><?php printf($time, mysql2date(get_option('date_format'), $post->post_date), mysql2date(get_option('time_format'), $post->post_date)); ?>
     101<p><?php printf($time, mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
    102102<?php endif; ?>
    103103</div>
    104104