| 1 | Index: wp-admin/edit-form-advanced.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/edit-form-advanced.php (revision 23460) |
|---|
| 4 | +++ wp-admin/edit-form-advanced.php (working copy) |
|---|
| 5 | @@ -451,21 +451,7 @@ |
|---|
| 6 | <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'insert-media-button,save-post', 'editor_height' => 360) ); ?> |
|---|
| 7 | |
|---|
| 8 | <table id="post-status-info" cellspacing="0"><tbody><tr> |
|---|
| 9 | - <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td> |
|---|
| 10 | - <td class="autosave-info"> |
|---|
| 11 | - <span class="autosave-message"> </span> |
|---|
| 12 | -<?php |
|---|
| 13 | - if ( 'auto-draft' != $post->post_status ) { |
|---|
| 14 | - echo '<span id="last-edit">'; |
|---|
| 15 | - if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) { |
|---|
| 16 | - $last_user = get_userdata($last_id); |
|---|
| 17 | - 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)); |
|---|
| 18 | - } else { |
|---|
| 19 | - 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)); |
|---|
| 20 | - } |
|---|
| 21 | - echo '</span>'; |
|---|
| 22 | - } ?> |
|---|
| 23 | - </td> |
|---|
| 24 | + <td id="wp-word-count" colspan="2"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td> |
|---|
| 25 | </tr></tbody></table> |
|---|
| 26 | |
|---|
| 27 | </div> |
|---|
| 28 | Index: wp-admin/includes/meta-boxes.php |
|---|
| 29 | =================================================================== |
|---|
| 30 | --- wp-admin/includes/meta-boxes.php (revision 23460) |
|---|
| 31 | +++ wp-admin/includes/meta-boxes.php (working copy) |
|---|
| 32 | @@ -103,6 +103,20 @@ |
|---|
| 33 | </div> |
|---|
| 34 | |
|---|
| 35 | <?php } ?> |
|---|
| 36 | +<div class="autosave-message"></div> |
|---|
| 37 | +<div> |
|---|
| 38 | +<?php |
|---|
| 39 | + if ( 'auto-draft' != $post->post_status ) { |
|---|
| 40 | + echo '<span id="last-edit">'; |
|---|
| 41 | + if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) { |
|---|
| 42 | + $last_user = get_userdata($last_id); |
|---|
| 43 | + 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)); |
|---|
| 44 | + } else { |
|---|
| 45 | + 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)); |
|---|
| 46 | + } |
|---|
| 47 | + echo '</span>'; |
|---|
| 48 | +} ?> |
|---|
| 49 | +</div> |
|---|
| 50 | </div><!-- .misc-pub-section --> |
|---|
| 51 | |
|---|
| 52 | <div class="misc-pub-section" id="visibility"> |
|---|