< ?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview', 'editor_height' => 360) ); ?>
< ?php printf( __( 'Word count: %s' ), '0' ); ?> | < ?php if ( 'auto-draft' != $post->post_status ) : ?> ' < ?php if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) : ?> < ?php $last_user = get_userdata($last_id); 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)); ?> < ?php else : ?> < ?php 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)); ?> < ?php endif; ?> < ?php endif; ?> |
< ? }