Ticket #5774: 5774.diff
File 5774.diff, 1.4 KB (added by , 17 years ago) |
---|
-
wp-admin/edit-form-advanced.php
133 133 $time = __('Published on:<br />%1$s at %2$s'); 134 134 else 135 135 $time = __('Saved on:<br />%1$s at %2$s'); 136 137 $date = ($post->post_date != '0000-00-00 00:00:00') ? $post->post_date : $post->post_modified; 138 136 139 ?> 137 <p><?php printf($time, mysql2date(get_option('date_format'), $ post->post_date), mysql2date(get_option('time_format'), $post->post_date)); ?>140 <p><?php printf($time, mysql2date(get_option('date_format'), $date), mysql2date(get_option('time_format'), $date)); ?> 138 141 <?php endif; ?> 139 142 </div> 140 143 -
wp-admin/edit-page-form.php
98 98 $time = __('Published on:<br />%1$s at %2$s'); 99 99 else 100 100 $time = __('Saved on:<br />%1$s at %2$s'); 101 102 $date = ($post->post_date != '0000-00-00 00:00:00') ? $post->post_date : $post->post_modified; 103 101 104 ?> 102 <p><?php printf($time, mysql2date(get_option('date_format'), $ post->post_date), mysql2date(get_option('time_format'), $post->post_date)); ?>105 <p><?php printf($time, mysql2date(get_option('date_format'), $date), mysql2date(get_option('time_format'), $date)); ?> 103 106 <?php endif; ?> 104 107 </div> 105 108