Ticket #15498: 15498.diff
| File 15498.diff, 906 bytes (added by , 14 years ago) |
|---|
-
wp-admin/edit-form-advanced.php
321 321 <?php 322 322 if ( 'auto-draft' != $post->post_status ) { 323 323 echo '<span id="last-edit">'; 324 if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) { 325 $last_user = get_userdata($last_id); 324 if ( $last_user = get_userdata( get_post_meta($post_ID, '_edit_last', true) ) ) { 326 325 printf(__('Last edited by %1$s on %2$s at %3$s'), esc_html( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); 327 326 } else { 328 327 printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));